Files
bun.sh/test/js
Vadim Spivak aba74246ed feat(node:inspector): implement Profiler API
Implement the Chrome DevTools Protocol Profiler domain for node:inspector:
- Profiler.enable/disable - Enable or disable the profiler
- Profiler.start/stop - Start and stop CPU profiling
- Profiler.setSamplingInterval - Configure sampling interval in microseconds

Returns CPU profiles in Chrome DevTools JSON format, compatible with
VS Code, Chrome DevTools, and speedscope.

Also fixes bun:jsc profile() to use pause() instead of shutdown(),
allowing the profiler to be restarted within the same process.
2026-01-09 16:50:52 -08:00
..
2024-12-12 02:07:29 -08:00