profiler_start
Start Firefox performance profiling with a preset or manual sampling settings. Captures CPU and thread activity for in-depth analysis.
Instructions
Start the Firefox profiler. Provide either a preset name or explicit recording options (entries, interval, features, threads). Cannot combine both. Valid presets: web-developer, firefox-platform, graphics, media, ml, networking, power, debug.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| preset | No | Profiler preset name. Cannot be combined with entries, interval, features, or threads. | |
| entries | No | Number of entries to keep in the sampling buffer. Required when no preset is given. | |
| threads | No | Thread names to profile. Required when no preset is given. | |
| features | No | Profiler features to enable. Required when no preset is given. | |
| interval | No | Sampling interval in milliseconds. Required when no preset is given. | |
| activeContext | No | Id of the top-level navigable to mark as the active tab in the profile. Does not restrict profiling to that tab. |