Module profiling

Module profiling 

Source
Expand description

Optional profiling utilities (CPU and heap) behind the profiling feature.

Safe-by-default helpers to start/stop CPU profiling to a file and to capture a heap profile snapshot on demand. No runtime overhead unless enabled.

Modules§

heap
Heap profiling support (optional via heap-profiling).

Structs§

CpuProfiler
CPU profiler handle. Drop or call stop() to write the profile.