Skip to content

Commit

Permalink
fix(core): update feature usage marker (angular#53542)
Browse files Browse the repository at this point in the history
This commit updates the name of the 'performance.mark'
counter used to track feature usage. It now matches
the name agreed upon by W3C for this use case:
w3c/user-timing#108

PR Close angular#53542
  • Loading branch information
kara authored and danieljancar committed Jan 26, 2024
1 parent fd129a2 commit aa261ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/core/src/util/performance.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,5 @@ export function performanceMarkFeature(feature: string): void {
return;
}
markedFeatures.add(feature);
performance?.mark?.('mark_use_counter', {detail: {feature}});
performance?.mark?.('mark_feature_usage', {detail: {feature}});
}

0 comments on commit aa261ce

Please sign in to comment.