Skip to content

Commit

Permalink
Merge pull request #108 from w3c/anniesullie-issue-105
Browse files Browse the repository at this point in the history
Clarify name for recommended mark for feature usag based on feedback
  • Loading branch information
anniesullie authored Nov 14, 2023
2 parents aa61b59 + 7530cf0 commit 9508b11
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -434,7 +434,7 @@ <h2>Recommended mark names</h2>
<dt>"<dfn class="export">mark_interactive</dfn>"</dt>
<dd>The time when the page is considered interactive to an end-user as
marked by the developer in their application.</dd>
<dt>"<dfn class="export">mark_use_counter</dfn>"</dt>
<dt>"<dfn class="export">mark_feature_usage</dfn>"</dt>
<dd>Mark the usage of a feature which may impact performance so that
tooling and analytics can take it into account. The <a data-link-for="PerformanceMark">detail</a>
metadata can contain any useful information about the feature, including:
Expand All @@ -453,7 +453,7 @@ <h2>Recommended mark names</h2>
whether it helped improve performance.
</p>
<pre class="example">
performance.mark('mark_use_counter', {
performance.mark('mark_feature_usage', {
'detail': {
'feature': 'ImageOptimizationComponent',
'framework': 'FancyJavaScriptFramework'
Expand Down

0 comments on commit 9508b11

Please sign in to comment.