feat(browser)!: Extract performance.{mark,measure} spans into new userTimingSpansIntegration#22554
Open
msonnb wants to merge 2 commits into
Open
feat(browser)!: Extract performance.{mark,measure} spans into new userTimingSpansIntegration#22554msonnb wants to merge 2 commits into
performance.{mark,measure} spans into new userTimingSpansIntegration#22554msonnb wants to merge 2 commits into
Conversation
Member
Author
|
bugbot run |
Contributor
size-limit report 📦
|
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
There are 2 total unresolved issues (including 1 from previous review).
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit 06b5536. Configure here.
msonnb
marked this pull request as draft
July 24, 2026 07:15
msonnb
marked this pull request as ready for review
July 24, 2026 08:29
…userTimingSpansIntegration`
msonnb
force-pushed
the
ms/performance-mark-measure
branch
from
July 24, 2026 14:14
06b5536 to
f28a18c
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

What?
browserTracingIntegrationno longer capturesperformance.mark()/performance.measure()spans by default. This behavior moves into a new opt-inuserTimingSpansIntegration, and theignorePerformanceApiSpansoption is replaced by the integration'signoreoption.Why?
User Timing spans are useful for some apps and pure noise for others (browser extensions and third-party libraries emit their own mark/measure entries). Bundling them into
browserTracingIntegrationmeant everyone paid the bundle-size and span-volume cost whether they wanted the data or not, and the only escape hatch was an ignore-list. Making it a separate, explicitly-added integration means you opt in when you want it, and it drops out of the tree-shaken bundle when you don't.Closes #22352