MCPcopy
hub / github.com/angular/angular / performanceMarkFeature

Function performanceMarkFeature

packages/core/src/util/performance.ts:19–25  ·  view source on GitHub ↗
(feature: string)

Source from the content-addressed store, hash-verified

17 * Cloudflare workers.
18 */
19export function performanceMarkFeature(feature: string): void {
20 if (markedFeatures.has(feature)) {
21 return;
22 }
23 markedFeatures.add(feature);
24 performance?.mark?.('mark_feature_usage', {detail: {feature}});
25}

Callers 15

ɵɵdefineComponentFunction · 0.90
ɵɵconditionalCreateFunction · 0.90
ɵɵconditionalFunction · 0.90
ɵɵrepeaterCreateFunction · 0.90
ɵɵdeclareLetFunction · 0.90
ɵɵanimateEnterFunction · 0.90
ɵɵanimateEnterListenerFunction · 0.90
ɵɵanimateLeaveFunction · 0.90
ɵɵanimateLeaveListenerFunction · 0.90

Calls 2

hasMethod · 0.65
addMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…