← Back to Memory domain

Memory.getBrowserSamplingProfile

Retrieve native memory allocations profile collected since browser process startup.

Domain: Memory experimental

Returns

NameTypeDescription
profileSamplingProfile

Example Request

{
  "id": 1,
  "method": "Memory.getBrowserSamplingProfile"
}

Example Response

{
  "id": 1,
  "result": {
    "profile": "profile-value"
  }
}

Usage in Node.js

const result = await send('Memory.getBrowserSamplingProfile');
console.log(result);
// {"profile": "profile-value"}