profiler
runtime-builtins.d.ts
fino:profiler — Rust-backed CPU profiler controls.
The profiler module starts and stops V8 CPU profile capture from JS code.
stopProfiling() returns the serialized profile bytes; callers choose where
to store or upload them.
Functions
function startProfiling(name?: string): void
Start collecting a named CPU profile.
function stopProfiling(name?: string): Uint8Array
Stop collecting a named CPU profile and return its serialized bytes.