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

Method addAnalyzerPerf

packages/compiler-cli/preprocessor/src/perf.ts:197–197  ·  view source on GitHub ↗
(perf: AnalyzerPerfTake)

Source from the content-addressed store, hash-verified

195 asyncEnd(kind: SpanKind, fileId: number): void;
196 count(counter: Counter, n?: number): void;
197 addAnalyzerPerf(perf: AnalyzerPerfTake): void;
198 /** Returns the events and summary recorded since the last `take()`, and resets them. */
199 take(): {events: TraceEvent[]; summary: PerfSummary};
200}

Callers 2

runFunction · 0.65
perf_spec.tsFile · 0.65

Implementers 1

RecordingTracerpackages/compiler-cli/preprocessor/src

Calls

no outgoing calls

Tested by

no test coverage detected