← Back to Performance domain

Performance.enable

Enable collecting and reporting metrics.

Domain: Performance stable

Parameters

NameTypeDescription
timeDomain (optional)stringTime domain to use for collecting and reporting duration metrics.

Example Request

{
  "id": 1,
  "method": "Performance.enable"
}

Example Response

{
  "id": 1,
  "result": {}
}

Usage in Node.js

const result = await send('Performance.enable');
console.log(result);