v147 · developer trial · workers · perf
Profiler API Explorer
Interactively start, stop, and inspect Profiler instances on the main thread and inside a Dedicated Worker. Overlay both traces side-by-side to see where CPU time lands.
Profile CPU-intensive work on the main thread. Adjust the sample interval and buffer size, run a workload, then inspect the trace as a flame-graph bar chart.
Run a workload to see the trace…
Same profiling API, now running inside a Dedicated Worker — the capability added in Chrome 147. The worker profiles its own execution and sends the trace back to the main thread.
Profiler is available inside Workers in this browser…
Start the worker to see its trace…
Run both the main thread and worker profilers to compare where CPU time lands. The overlay chart shows sample counts for each function on both threads side-by-side.
No traces yet — click ▶ Profile both threads.