Memory.startSamplingStart collecting native memory profile.
| Name | Type | Description |
|---|---|---|
samplingInterval (optional) | integer | Average number of bytes between samples. |
suppressRandomness (optional) | boolean | Do not randomize intervals between samples. |
{
"id": 1,
"method": "Memory.startSampling"
}
{
"id": 1,
"result": {}
}
const result = await send('Memory.startSampling');
console.log(result);