GradleNetworkActivity

data class GradleNetworkActivity(@Json(name = "networkRequestCount") val networkRequestCount: Long, @Json(name = "serialNetworkRequestTime") val serialNetworkRequestTime: Long, @Json(name = "fileDownloadSize") val fileDownloadSize: Long, @Json(name = "fileDownloadCount") val fileDownloadCount: Long, @Json(name = "wallClockNetworkRequestTime") val wallClockNetworkRequestTime: Long? = null)

Information about the network activity of the build. It includes network activity during dependency resolution, java toolchain downloads, etc. For a comprehensive list see the Build Scan.

Parameters

networkRequestCount

This represents the total count of network requests.

serialNetworkRequestTime

The duration in milliseconds representing the sum of times for potentially parallel network requests. It does not reflect wall clock time but offers a rough estimation of network activity.

fileDownloadSize

The total number of bytes downloaded for dependencies. It accounts only for the bytes of the files (e.g. POMs, JARs) downloaded and not the total network transfer.

fileDownloadCount

The total number of successfully downloaded files.

wallClockNetworkRequestTime

The estimate in milliseconds representing the wall clock time spent on network requests during the current build. It is calculated by comparing the critical path within non-execution and execution phases with and without network requests, converted to wall clock time. This is null when Gradle version is lower than 6.2 or the Develocity plugin version is lower than 3.12.

Constructors

Link copied to clipboard
constructor(@Json(name = "networkRequestCount") networkRequestCount: Long, @Json(name = "serialNetworkRequestTime") serialNetworkRequestTime: Long, @Json(name = "fileDownloadSize") fileDownloadSize: Long, @Json(name = "fileDownloadCount") fileDownloadCount: Long, @Json(name = "wallClockNetworkRequestTime") wallClockNetworkRequestTime: Long? = null)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard