Title: Do CPU performance benchmarks if `instrumentingPrototypeMethods` has a big drawback · Issue #20525 · getsentry/sentry-javascript · GitHub
Open Graph Title: Do CPU performance benchmarks if `instrumentingPrototypeMethods` has a big drawback · Issue #20525 · getsentry/sentry-javascript
X Title: Do CPU performance benchmarks if `instrumentingPrototypeMethods` has a big drawback · Issue #20525 · getsentry/sentry-javascript
Description: follow up to #20345 The instrumentPrototypeMethods are deprecated in favor of enableRpcTracePropagation. The main reason instrumentPrototypeMethods existed where the unknowns of the benchmarks. We didn't have anything do measure it. As o...
Open Graph Description: follow up to #20345 The instrumentPrototypeMethods are deprecated in favor of enableRpcTracePropagation. The main reason instrumentPrototypeMethods existed where the unknowns of the benchmarks. We ...
X Description: follow up to #20345 The instrumentPrototypeMethods are deprecated in favor of enableRpcTracePropagation. The main reason instrumentPrototypeMethods existed where the unknowns of the benchmarks. We ...
Opengraph URL: https://github.com/getsentry/sentry-javascript/issues/20525
X: @github
Domain: github.com
IPv4 address: 140.82.112.3
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Do CPU performance benchmarks if `instrumentingPrototypeMethods` has a big drawback","articleBody":"follow up to #20345 \n\nThe `instrumentPrototypeMethods` are deprecated in favor of `enableRpcTracePropagation`. The main reason `instrumentPrototypeMethods` existed where the unknowns of the benchmarks. We didn't have anything do measure it. As of now `enableRpcTracePropagation` overwrites the prototypes into a `Proxy` and caches the instrumentations.\n\nBest case scenario would be that we also drop the need for `enableRpcTracePropagation` and instrument it always by default, but for that we need to know how much of a cost this is, as it would be instrumented on each request.\n\nIf the benchmarks are low we need to remove `instrumentPrototypeMethods` and keep `enableRpcTracePropagation`","author":{"url":"https://github.com/JPeer264","@type":"Person","name":"JPeer264"},"datePublished":"2026-04-27T09:49:48Z","url":"https://github.com/getsentry/sentry-javascript/issues/20525"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:34e1ceb6-7f7b-586d-c0e9-86d173fc1f8f |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | AAC2:27BDC8:19BA8D:236DB5:6B04487D |
| html-safe-nonce | 84a081ce0a72930d54b3bb91cdc9997a797b5c5e085588b20b492a7b39f602a3 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBQUMyOjI3QkRDODoxOUJBOEQ6MjM2REI1OjZCMDQ0ODdEIiwidmlzaXRvcl9pZCI6IjgyODA4ODQyNjkxODcwOTA1NTciLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | a2eccb742d8041a34e0724c6d1be071476d551f12dc9ce2697c015f764ed62a9 |
| hovercard-subject-tag | issue:4334767993 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/getsentry/sentry-javascript/20525/issue_layout |
| twitter:image | https://opengraph.githubassets.com/eaa12abdc83061bec80be67299c65714b18651459634c32fbe0d54fd5abfc635/getsentry/sentry-javascript/issues/20525 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/eaa12abdc83061bec80be67299c65714b18651459634c32fbe0d54fd5abfc635/getsentry/sentry-javascript/issues/20525 |
| og:image:alt | follow up to #20345 The instrumentPrototypeMethods are deprecated in favor of enableRpcTracePropagation. The main reason instrumentPrototypeMethods existed where the unknowns of the benchmarks. We ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | JPeer264 |
| hostname | github.com |
| expected-hostname | github.com |
| None | d4495c3631faba668036f176d1f5946901c5172efd73a6edb984029e7d4f8e46 |
| turbo-cache-control | no-preview |
| go-import | github.com/getsentry/sentry-javascript git https://github.com/getsentry/sentry-javascript.git |
| octolytics-dimension-user_id | 1396951 |
| octolytics-dimension-user_login | getsentry |
| octolytics-dimension-repository_id | 3328572 |
| octolytics-dimension-repository_nwo | getsentry/sentry-javascript |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 3328572 |
| octolytics-dimension-repository_network_root_nwo | getsentry/sentry-javascript |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 9ac4337fb7c6a5846cdfdb1a04f154d3c33ebc77 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width