Skip to content

Commit

Permalink
fix(core): update feature usage marker
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
  • Loading branch information
kara committed Dec 13, 2023
1 parent d9348be commit 068f106
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 068f106

Please sign in to comment.