NodepodProfiler
Nodepod API / src / NodepodProfiler
Interface: NodepodProfiler
Section titled “Interface: NodepodProfiler”Defined in: src/profiling/types.ts:139
Properties
Section titled “Properties”enabled
Section titled “enabled”
readonlyenabled:boolean
Defined in: src/profiling/types.ts:140
readonlylevel:ProfilerLevel
Defined in: src/profiling/types.ts:141
Methods
Section titled “Methods”profile()
Section titled “profile()”profile<
T>(name,operation):Promise<{report:NodepodProfileReport;result:T; }>
Defined in: src/profiling/types.ts:143
Type Parameters
Section titled “Type Parameters”T
Parameters
Section titled “Parameters”string
operation
Section titled “operation”() => T | Promise<T>
Returns
Section titled “Returns”Promise<{ report: NodepodProfileReport; result: T; }>
start()
Section titled “start()”start(
name):ProfileSession
Defined in: src/profiling/types.ts:142
Parameters
Section titled “Parameters”string