Skip to main content
CPU profiler. start/stop a sampling profile (.cpuprofile artifact, opens in DevTools Performance/JavaScript Profiler). stop and analyze return a bottom-up list of expensive functions (self time) and a call tree of hot paths.

Parameters

integer
Target tab id from browser_tabs, which lists tabs across all windows. Defaults to the agent’s most recently opened usable tab, or the only usable tab. Otherwise select a listed tabId.
enum
required
One of: start, stop, analyze, list.
integer
 
string
 
integer
 

Example