pl.wendigo.chrome.api.runtime / GetHeapUsageResponse

GetHeapUsageResponse

data class GetHeapUsageResponse (source)

Represents response frame that is returned from Runtime#getHeapUsage operation call. Returns the JavaScript heap usage. It is the total usage of the corresponding isolate not scoped to a particular Runtime.

Link
Runtime#getHeapUsage method documentation.

See Also

RuntimeOperations.getHeapUsage

Constructors

<init>

GetHeapUsageResponse(usedSize: Double, totalSize: Double)

Represents response frame that is returned from Runtime#getHeapUsage operation call. Returns the JavaScript heap usage. It is the total usage of the corresponding isolate not scoped to a particular Runtime.

Properties

totalSize

val totalSize: Double

Allocated heap size in bytes.

usedSize

val usedSize: Double

Used heap size in bytes.