GradleBuildCachePerformance

data class GradleBuildCachePerformance(@Json(name = "id") val id: String, @Json(name = "buildTime") val buildTime: Long, @Json(name = "effectiveTaskExecutionTime") val effectiveTaskExecutionTime: Long, @Json(name = "effectiveWorkUnitExecutionTime") val effectiveWorkUnitExecutionTime: Long, @Json(name = "serialTaskExecutionTime") val serialTaskExecutionTime: Long, @Json(name = "serialWorkUnitExecutionTime") val serialWorkUnitExecutionTime: Long, @Json(name = "serializationFactor") val serializationFactor: Double, @Json(name = "taskExecution") val taskExecution: List<GradleBuildCachePerformanceTaskExecutionEntry>, @Json(name = "avoidanceSavingsSummary") val avoidanceSavingsSummary: GradleBuildCachePerformanceAvoidanceSavingsSummary, @Json(name = "taskAvoidanceSavingsSummary") val taskAvoidanceSavingsSummary: GradleBuildCachePerformanceTaskAvoidanceSavingsSummary, @Json(name = "workUnitAvoidanceSavingsSummary") val workUnitAvoidanceSavingsSummary: GradleBuildCachePerformanceWorkUnitAvoidanceSavingsSummary, @Json(name = "taskFingerprintingSummary") val taskFingerprintingSummary: GradleBuildCachePerformanceTaskFingerprintingSummary? = null, @Json(name = "workUnitFingerprintingSummary") val workUnitFingerprintingSummary: GradleBuildCachePerformanceWorkUnitFingerprintingSummary? = null, @Json(name = "buildCaches") val buildCaches: GradleBuildCachePerformanceBuildCaches? = null)

The build cache performance of a Gradle build.

Parameters

id

The Build Scan ID.

buildTime

Wall clock duration of the build in milliseconds.

effectiveTaskExecutionTime

Wall clock time spent executing tasks in milliseconds. It is the time spent between the start of the first task in the execution phase and the end of the last task of the execution phase, removing any interval where no task is being executed.

effectiveWorkUnitExecutionTime

Wall clock time spent executing work units (tasks and artifact transforms) in milliseconds. It is the time spent between the start of the first work unit in the execution phase and the end of the last work unit of the execution phase, removing any interval where no work unit is being executed.

serialTaskExecutionTime

Wall clock time of all task executions in milliseconds. It is the sum of all individual task durations.

serialWorkUnitExecutionTime

Wall clock time of all work unit executions (tasks and artifact transforms) in milliseconds. It is the sum of all individual work unit durations.

serializationFactor

The ratio of serialWorkUnitExecutionTime over the effectiveWorkUnitExecutionTime. Quantifies the effect of work unit parallelization. A value equal to 1 means that no parallelization occurred. A value greater than 1 means that work units are executed faster due to parallelization.

taskExecution

A list of executed tasks with performance related information.

avoidanceSavingsSummary
taskAvoidanceSavingsSummary
workUnitAvoidanceSavingsSummary
taskFingerprintingSummary
workUnitFingerprintingSummary
buildCaches

Constructors

Link copied to clipboard
constructor(@Json(name = "id") id: String, @Json(name = "buildTime") buildTime: Long, @Json(name = "effectiveTaskExecutionTime") effectiveTaskExecutionTime: Long, @Json(name = "effectiveWorkUnitExecutionTime") effectiveWorkUnitExecutionTime: Long, @Json(name = "serialTaskExecutionTime") serialTaskExecutionTime: Long, @Json(name = "serialWorkUnitExecutionTime") serialWorkUnitExecutionTime: Long, @Json(name = "serializationFactor") serializationFactor: Double, @Json(name = "taskExecution") taskExecution: List<GradleBuildCachePerformanceTaskExecutionEntry>, @Json(name = "avoidanceSavingsSummary") avoidanceSavingsSummary: GradleBuildCachePerformanceAvoidanceSavingsSummary, @Json(name = "taskAvoidanceSavingsSummary") taskAvoidanceSavingsSummary: GradleBuildCachePerformanceTaskAvoidanceSavingsSummary, @Json(name = "workUnitAvoidanceSavingsSummary") workUnitAvoidanceSavingsSummary: GradleBuildCachePerformanceWorkUnitAvoidanceSavingsSummary, @Json(name = "taskFingerprintingSummary") taskFingerprintingSummary: GradleBuildCachePerformanceTaskFingerprintingSummary? = null, @Json(name = "workUnitFingerprintingSummary") workUnitFingerprintingSummary: GradleBuildCachePerformanceWorkUnitFingerprintingSummary? = null, @Json(name = "buildCaches") buildCaches: GradleBuildCachePerformanceBuildCaches? = null)

Properties