Skip to content

Conversation

@tunetheweb
Copy link
Contributor

Summary

The Chrome DevTools extensibility API adds some optional extra params to User Timing (performance.mark and performance.measure) and console.timestamp to provide additional information to performance traces.

I\m looking to document these in mdn/content#41372 and so adding BCD data here.

Test results and supporting details

User Timing supported from 128 - https://developer.chrome.com/blog/new-in-devtools-128#perf-extension
Console.timesstamp supported from 134 https://developer.chrome.com/blog/new-in-devtools-134#console-timestamp

Spec discussions:

Note I've marked it as "standard_track": false for now, since those discussions are ongoing.

Related issues

MDN content PR: mdn/content#41372

@github-actions github-actions bot added data:api Compat data for Web APIs. https://developer.mozilla.org/docs/Web/API size:l [PR only] 101-1000 LoC changed labels Oct 23, 2025
@github-actions
Copy link
Contributor

github-actions bot commented Oct 23, 2025

Tip: Review these changes grouped by change (recommended for most PRs), or grouped by feature (for large PRs).

@caugner caugner requested review from Elchi3 and caugner October 28, 2025 12:48
Comment on lines +153 to +155
"devtools": {
"__compat": {
"description": "`devtools` details used in performance trace",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this should be moved into api.Performance.mark (see here), and renamed to markOptions_detail_devtools_parameter following this guideline.

Suggested change
"devtools": {
"__compat": {
"description": "`devtools` details used in performance trace",
"markOptions_detail_devtools_parameter": {
"__compat": {
"description": "`markOptions.details.devtools` parameter",

Note: Theoretically, this could be captured additionally as subfeatures of the PerformanceMark() and PerformanceMeasure() constructors, and as subfeatures of the Performance{Mark,Measure}.detail properties, but given that these are non-standard features and the Blog post only mentions the performance.{mark,measure}() methods, let's not duplicate unnecessarily here.

Comment on lines +1453 to +1455
"color": {
"__compat": {
"support": {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
"color": {
"__compat": {
"support": {
"color_parameter": {
"__compat": {
"description": "`color` parameter",
"support": {

}
}
},
"data": {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
"data": {
"data_parameter": {
"__compat": {
"description": "`data` parameter",
"support": {

}
}
},
"end": {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
"end": {
"end_parameter": {
"__compat": {
"description": "`end` parameter",
"support": {

Comment on lines +1561 to +1563
"label": {
"__compat": {
"mdn_url": "https://developer.mozilla.org/docs/Web/API/console/timeStamp_static#label",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
"label": {
"__compat": {
"mdn_url": "https://developer.mozilla.org/docs/Web/API/console/timeStamp_static#label",
"label_parameter": {
"__compat": {
"description": "`label` parameter",
"mdn_url": "https://developer.mozilla.org/docs/Web/API/console/timeStamp_static#label",

Comment on lines +1621 to +1623
"start": {
"__compat": {
"support": {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
"start": {
"__compat": {
"support": {
"start_parameter": {
"__compat": {
"description": "`start` parameter",
"support": {

Comment on lines +1657 to +1659
"trackGroup": {
"__compat": {
"support": {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
"trackGroup": {
"__compat": {
"support": {
"trackGroup_parameter": {
"__compat": {
"description": "`trackGroup` parameter",
"support": {

Comment on lines +1693 to +1695
"trackName": {
"__compat": {
"support": {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
"trackName": {
"__compat": {
"support": {
"trackName_parameter": {
"__compat": {
"description": "`trackName` parameter",
"support": {

Comment on lines +112 to +114
"devtools": {
"__compat": {
"description": "`devtools` details used in performance trace",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same applies here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

data:api Compat data for Web APIs. https://developer.mozilla.org/docs/Web/API size:l [PR only] 101-1000 LoC changed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants