TimingVerb

interface TimingVerb

ir.timing — a callable that also carries the rest of the verbs.

Callable because ir.timing('trace') is what anybody types, and a setLevel/getLevel pair on a namespace would be two names for the one switch this whole design exists to keep singular.

devtools/src/profile.ts:67
TimingVerb(level?: string) → string
levelstring
Undocumented
Returnsstring

Members

drain

drain() → readonly TimingEntry[]

mark

mark(name: string) → void
namestring
Undocumented

tracks

tracks() → readonly string[]