Skip to content

feat(browser)!: Use browser.paint span op for paint entries - #22673

Draft
msonnb wants to merge 1 commit into
developfrom
ms/js-3105-browser-paint-op
Draft

feat(browser)!: Use browser.paint span op for paint entries#22673
msonnb wants to merge 1 commit into
developfrom
ms/js-3105-browser-paint-op

Conversation

@msonnb

@msonnb msonnb commented Jul 27, 2026

Copy link
Copy Markdown
Member

Rename the raw paint op to the registered browser.paint for first-paint and first-contentful-paint spans. mark and measure entries flow through the same code path and keep their ops.

This does not touch Session Replay, which builds its performance entries in createPerformanceEntries.ts and keeps its own paint frame type.

Part of #22446

@linear-code

linear-code Bot commented Jul 27, 2026

Copy link
Copy Markdown

JS-3105

@github-actions

github-actions Bot commented Jul 27, 2026

Copy link
Copy Markdown
Contributor

size-limit report 📦

Path Size % Change Change
@sentry/browser 28.02 kB - -
@sentry/browser - with treeshaking flags 26.46 kB - -
@sentry/browser (incl. Tracing) 46.55 kB +0.03% +11 B 🔺
@sentry/browser (incl. Tracing + Span Streaming) 47.47 kB +0.02% +9 B 🔺
@sentry/browser (incl. Tracing, Profiling) 51.31 kB +0.02% +10 B 🔺
@sentry/browser (incl. Tracing, Replay) 85.88 kB +0.02% +13 B 🔺
@sentry/browser (incl. Tracing, Replay) - with treeshaking flags 75.52 kB +0.02% +11 B 🔺
@sentry/browser (incl. Tracing, Replay with Canvas) 90.59 kB +0.02% +11 B 🔺
@sentry/browser (incl. Tracing, Replay, Feedback) 103.23 kB +0.02% +11 B 🔺
@sentry/browser (incl. Feedback) 45.2 kB - -
@sentry/browser (incl. sendFeedback) 32.82 kB - -
@sentry/browser (incl. FeedbackAsync) 37.86 kB - -
@sentry/browser (incl. Metrics) 29.12 kB - -
@sentry/browser (incl. Logs) 29.34 kB - -
@sentry/browser (incl. Metrics & Logs) 30.05 kB - -
@sentry/react 29.8 kB - -
@sentry/react (incl. Tracing) 48.86 kB +0.03% +10 B 🔺
@sentry/vue 33.97 kB - -
@sentry/vue (incl. Tracing) 48.55 kB +0.03% +10 B 🔺
@sentry/svelte 28.04 kB - -
CDN Bundle 30.32 kB - -
CDN Bundle (incl. Tracing) 47.72 kB +0.02% +9 B 🔺
CDN Bundle (incl. Logs, Metrics) 31.9 kB - -
CDN Bundle (incl. Tracing, Logs, Metrics) 49.09 kB +0.03% +11 B 🔺
CDN Bundle (incl. Replay, Logs, Metrics) 71.17 kB - -
CDN Bundle (incl. Tracing, Replay) 85.32 kB +0.02% +11 B 🔺
CDN Bundle (incl. Tracing, Replay, Logs, Metrics) 86.62 kB +0.02% +12 B 🔺
CDN Bundle (incl. Tracing, Replay, Feedback) 91.13 kB +0.02% +14 B 🔺
CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics) 92.4 kB +0.02% +13 B 🔺
CDN Bundle - uncompressed 90.26 kB - -
CDN Bundle (incl. Tracing) - uncompressed 143.25 kB +0.03% +38 B 🔺
CDN Bundle (incl. Logs, Metrics) - uncompressed 94.97 kB - -
CDN Bundle (incl. Tracing, Logs, Metrics) - uncompressed 147.23 kB +0.03% +38 B 🔺
CDN Bundle (incl. Replay, Logs, Metrics) - uncompressed 219.73 kB - -
CDN Bundle (incl. Tracing, Replay) - uncompressed 262.51 kB +0.02% +38 B 🔺
CDN Bundle (incl. Tracing, Replay, Logs, Metrics) - uncompressed 266.48 kB +0.02% +38 B 🔺
CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 276.22 kB +0.02% +38 B 🔺
CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics) - uncompressed 280.17 kB +0.02% +38 B 🔺
@sentry/nextjs (client) 51.42 kB +0.02% +10 B 🔺
@sentry/sveltekit (client) 47.02 kB +0.03% +10 B 🔺
@sentry/core/server 79.57 kB - -
@sentry/core/browser 51.54 kB - -
@sentry/node 112.47 kB - -
@sentry/node (incl. diagnostics channel injection) 156.64 kB - -
@sentry/node/import (ESM hook with diagnostics-channel injection) 166 B - -
@sentry/node - without tracing 62.01 kB +0.01% +1 B 🔺
@sentry/aws-serverless 72.29 kB - -
@sentry/cloudflare (withSentry) - minified 195.94 kB - -
@sentry/cloudflare (withSentry) 482.5 kB - -

View base workflow run

@msonnb
msonnb force-pushed the ms/js-3105-ember-route-hooks branch from 915c173 to 62b0ee0 Compare July 27, 2026 11:44
@msonnb
msonnb force-pushed the ms/js-3105-browser-paint-op branch from 8f91cc5 to 69c65ba Compare July 27, 2026 11:44
@msonnb
msonnb force-pushed the ms/js-3105-ember-route-hooks branch from e55c2e0 to 7ae594a Compare July 27, 2026 12:10
@msonnb
msonnb force-pushed the ms/js-3105-browser-paint-op branch from 69c65ba to 4b1b419 Compare July 27, 2026 12:10
@msonnb
msonnb changed the base branch from ms/js-3105-ember-route-hooks to develop July 27, 2026 13:08
`paint` is not a registered op; `browser.paint` is. Only affects tracing
spans — Session Replay performance entries are unchanged.

Ref: JS-3105

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@msonnb
msonnb force-pushed the ms/js-3105-browser-paint-op branch from 4b1b419 to 2a1a262 Compare July 27, 2026 13:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant