Skip to main content

GET_HEAP_USAGE

Constant GET_HEAP_USAGE 

Source
pub const GET_HEAP_USAGE: &str = "Runtime.getHeapUsage";
Expand description

Returns the JavaScript heap usage. It is the total usage of the corresponding isolate not scoped to a particular Runtime.

Experimental: may change without notice.

Returns: usedSize, totalSize, embedderHeapUsedSize, backingStorageSize