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

Method record

packages/compiler-cli/preprocessor/src/perf.ts:332–337  ·  view source on GitHub ↗
(kind: SpanKind, startUs: number)

Source from the content-addressed store, hash-verified

330 }
331
332 record(kind: SpanKind, startUs: number): void {
333 if (!AWAITING_KINDS[kind]) {
334 this.openNonAwaiting++;
335 }
336 this.finish(kind, startUs, nowMicros(), undefined, 0);
337 }
338
339 private close(now: number): void {
340 const kind = this.openKind.pop()!;

Callers

nothing calls this directly

Calls 2

finishMethod · 0.95
nowMicrosFunction · 0.85

Tested by

no test coverage detected