ScaleBun
Skip to article

Profiler

webDeveloper

The ScaleBun.profiler namespace — 3 members.

Updated Reviewed

scalebun.profiler.start()await scalebun.profiler.stop() around a slow operation.

TypeScript
import ScaleBun from '@scalebun/web';
ScaleBun.profiler.<method>(…);

Members#

MemberSignature
availableavailable(): boolean
startstart(sampleIntervalMs?: number): boolean
stopstop(): Promise<boolean>

Reference#

available#

TypeScript
ScaleBun.profiler.available(): boolean

start#

TypeScript
ScaleBun.profiler.start(sampleIntervalMs?: number): boolean

stop#

TypeScript
ScaleBun.profiler.stop(): Promise<boolean>
Profiler · API reference · Web SDK · ScaleBun