struct Protocol::Runtime::GetHeapUsage

Overview

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

Included Modules

Defined in:

protocol/runtime.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(pull : JSON::PullParser) #

[View source]

Instance Method Detail

def total_size : Number::Primitive #

Allocated heap size in bytes.


[View source]
def used_size : Number::Primitive #

Used heap size in bytes.


[View source]