MCPcopy Index your code
hub / github.com/angular/angular / removeProfiler

Function removeProfiler

packages/core/src/render3/profiler.ts:15–20  ·  view source on GitHub ↗
(profiler: Profiler)

Source from the content-addressed store, hash-verified

13const NOOP_PROFILER_REMOVAL = () => {};
14
15function removeProfiler(profiler: Profiler) {
16 const profilerIdx = profilerCallbacks.indexOf(profiler);
17 if (profilerIdx !== -1) {
18 profilerCallbacks.splice(profilerIdx, 1);
19 }
20}
21
22/**
23 * Adds a callback function which will be invoked before and after performing certain actions at

Callers 1

setProfilerFunction · 0.70

Calls 1

indexOfMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…