MCPcopy Create free account
hub / github.com/angular/angular / record

Method record

packages/compiler-cli/preprocessor/src/perf.ts:190–190  ·  view source on GitHub ↗

Records a finished synchronous section that ran from `startUs` until now.

(kind: SpanKind, startUs: number)

Source from the content-addressed store, hash-verified

188 sliceAsync<T>(kind: SpanKind, fn: () => Promise<T>, fileId?: number): Promise<T>;
189 /** Records a finished synchronous section that ran from `startUs` until now. */
190 record(kind: SpanKind, startUs: number): void;
191 /** Allocates an id for a file and begins its `ngp.File` async slice. */
192 newFileId(path: string): number;
193 asyncBegin(kind: SpanKind, fileId: number): void;

Implementers 1

RecordingTracerpackages/compiler-cli/preprocessor/src

Calls

no outgoing calls