René's URL Explorer Experiment


Title: perf: avoid unnecessary allocations in hot paths by HazAT · Pull Request #2902 · getsentry/sentry-ruby · GitHub

Open Graph Title: perf: avoid unnecessary allocations in hot paths by HazAT · Pull Request #2902 · getsentry/sentry-ruby

X Title: perf: avoid unnecessary allocations in hot paths by HazAT · Pull Request #2902 · getsentry/sentry-ruby

Description: Sentry SDK for Ruby. Contribute to getsentry/sentry-ruby development by creating an account on GitHub.

Open Graph Description: ✅ Low risk — pure micro-optimizations, no new state or caching Part of #2901 (reduce memory allocations by ~53%) Changes Backtrace::Line.parse: Use indexed regex captures (match[1]) instead of .to...

X Description: ✅ Low risk — pure micro-optimizations, no new state or caching Part of #2901 (reduce memory allocations by ~53%) Changes Backtrace::Line.parse: Use indexed regex captures (match[1]) instead of .to...

Opengraph URL: https://github.com/getsentry/sentry-ruby/pull/2902

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.113.4

react-profiling0
react-import-mapreact,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/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:79048281-1cff-a198-7d5a-5e27c5afdac6
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idDA7A:2F9258:273CC43:3397758:6B042C06
html-safe-nonced371707d915a34e8d655f848c461f55823c8c2fe4c3c69d368c237e135cba224
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEQTdBOjJGOTI1ODoyNzNDQzQzOjMzOTc3NTg6NkIwNDJDMDYiLCJ2aXNpdG9yX2lkIjoiNDc4ODEwNTE2MDU3MDQ0ODkwMiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac1d9958be261f1473bfdd9205c0dc23fa003c3cd2365fcc6dbadf11c04f9a8057
hovercard-subject-tagpull_request:3415421161
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/getsentry/sentry-ruby/2902/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/b392f6585b7e921135e3ed19512f1437049587f2ab8be860ecc072615ec32604/getsentry/sentry-ruby/pull/2902
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/b392f6585b7e921135e3ed19512f1437049587f2ab8be860ecc072615ec32604/getsentry/sentry-ruby/pull/2902
og:image:alt✅ Low risk — pure micro-optimizations, no new state or caching Part of #2901 (reduce memory allocations by ~53%) Changes Backtrace::Line.parse: Use indexed regex captures (match[1]) instead of .to...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameHazAT
hostnamegithub.com
expected-hostnamegithub.com
Noneb7a1d2b9101496921b08579fbee988d014345aef2f5bd660d1f8c7332d81560e
turbo-cache-controlno-cache
go-importgithub.com/getsentry/sentry-ruby git https://github.com/getsentry/sentry-ruby.git
octolytics-dimension-user_id1396951
octolytics-dimension-user_logingetsentry
octolytics-dimension-repository_id3947396
octolytics-dimension-repository_nwogetsentry/sentry-ruby
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id3947396
octolytics-dimension-repository_network_root_nwogetsentry/sentry-ruby
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releasec3dd496c3da6ea6b77e69c09279d2b81604654f1
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/getsentry/sentry-ruby/pull/2902#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgetsentry%2Fsentry-ruby%2Fpull%2F2902
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgetsentry%2Fsentry-ruby%2Fpull%2F2902
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=getsentry%2Fsentry-ruby
Reloadhttps://github.com/getsentry/sentry-ruby/pull/2902
Reloadhttps://github.com/getsentry/sentry-ruby/pull/2902
Reloadhttps://github.com/getsentry/sentry-ruby/pull/2902
getsentryhttps://github.com/getsentry
sentry-rubyhttps://github.com/getsentry/sentry-ruby
Codehttps://github.com/getsentry/sentry-ruby
Issues73 (73)https://github.com/getsentry/sentry-ruby/issues
Pull requests32 (32)https://github.com/getsentry/sentry-ruby/pulls
Actionshttps://github.com/getsentry/sentry-ruby/actions
Security and qualityhttps://github.com/getsentry/sentry-ruby/security
Insightshttps://github.com/getsentry/sentry-ruby/insights
https://github.com/getsentry/sentry-ruby
sl0thentr0pyhttps://github.com/sl0thentr0py
masterhttps://github.com/getsentry/sentry-ruby/tree/master
perf/hot-path-allocation-avoidancehttps://github.com/getsentry/sentry-ruby/tree/perf/hot-path-allocation-avoidance
Conversationhttps://github.com/getsentry/sentry-ruby/pull/2902
Commits1 (1)https://github.com/getsentry/sentry-ruby/pull/2902/commits
Checkshttps://github.com/getsentry/sentry-ruby/pull/2902/checks
Files changedhttps://github.com/getsentry/sentry-ruby/pull/2902/files
perf: avoid unnecessary allocations in hot pathshttps://github.com/getsentry/sentry-ruby/pull/2902#top
sl0thentr0pyhttps://github.com/sl0thentr0py
masterhttps://github.com/getsentry/sentry-ruby/tree/master
perf/hot-path-allocation-avoidancehttps://github.com/getsentry/sentry-ruby/tree/perf/hot-path-allocation-avoidance
https://github.com/HazAT
HazAThttps://github.com/HazAT
Mar 18, 2026https://github.com/getsentry/sentry-ruby/pull/2902#issue-4095808373
#2901https://github.com/getsentry/sentry-ruby/pull/2901
Please reload this pagehttps://github.com/getsentry/sentry-ruby/pull/2902
https://github.com/HazAT
HazAThttps://github.com/HazAT
Mar 18, 2026 https://github.com/getsentry/sentry-ruby/pull/2902#ref-pullrequest-4095804230
perf: Reduce memory allocations by ~53% during exception capture #2901 https://github.com/getsentry/sentry-ruby/pull/2901
https://github.com/apps/sentry
sentryhttps://github.com/apps/sentry
Mar 18, 2026 https://github.com/getsentry/sentry-ruby/pull/2902#pullrequestreview-3968615376
View reviewed changes https://github.com/getsentry/sentry-ruby/pull/2902/files
sentry-ruby/lib/sentry/interfaces/stacktrace.rbhttps://github.com/getsentry/sentry-ruby/pull/2902/files#diff-fb294ff12105009e692eeecb46d251c72a200092afcbb181404fce8be1085dd9
Please reload this pagehttps://github.com/getsentry/sentry-ruby/pull/2902
HazAThttps://github.com/HazAT
Mar 18, 2026 https://github.com/getsentry/sentry-ruby/pull/2902#ref-commit-b81088e
https://github.com/HazAT
perf: reduce memory allocations by ~53% during exception capturehttps://github.com/getsentry/sentry-ruby/commit/b81088ed77d58341c41140885b662b8551655143
b81088ehttps://github.com/getsentry/sentry-ruby/commit/b81088ed77d58341c41140885b662b8551655143
#2902https://github.com/getsentry/sentry-ruby/pull/2902
#2903https://github.com/getsentry/sentry-ruby/pull/2903
#2904https://github.com/getsentry/sentry-ruby/pull/2904
#2905https://github.com/getsentry/sentry-ruby/pull/2905
#2906https://github.com/getsentry/sentry-ruby/pull/2906
#2907https://github.com/getsentry/sentry-ruby/pull/2907
#2908https://github.com/getsentry/sentry-ruby/pull/2908
https://github.com/apps/cursor
cursorhttps://github.com/apps/cursor
Mar 18, 2026 https://github.com/getsentry/sentry-ruby/pull/2902#pullrequestreview-3968666581
View reviewed changes https://github.com/getsentry/sentry-ruby/pull/2902/files
sentry-ruby/lib/sentry/interfaces/stacktrace.rbhttps://github.com/getsentry/sentry-ruby/pull/2902/files#diff-fb294ff12105009e692eeecb46d251c72a200092afcbb181404fce8be1085dd9
Please reload this pagehttps://github.com/getsentry/sentry-ruby/pull/2902
sentry-ruby/lib/sentry/backtrace.rbhttps://github.com/getsentry/sentry-ruby/pull/2902/files#diff-bae79afe89d993f8810180cb5e4e14e0c757c490ee363893deab61c8a0912e84
Please reload this pagehttps://github.com/getsentry/sentry-ruby/pull/2902
sentry-ruby/lib/sentry/linecache.rbhttps://github.com/getsentry/sentry-ruby/pull/2902/files#diff-893acc61a71a225dcb3f660787dca4f9fa82f4e5c769dc76ae5111a32aa167d3
Please reload this pagehttps://github.com/getsentry/sentry-ruby/pull/2902
https://github.com/sl0thentr0py
sl0thentr0pyhttps://github.com/sl0thentr0py
force-pushedhttps://github.com/getsentry/sentry-ruby/compare/8932f038e194b4513f1b5768c0e1003f7ada3488..10c81fd525e1a3a532e62f3afa867770d6e0db0e
8932f03https://github.com/getsentry/sentry-ruby/commit/8932f038e194b4513f1b5768c0e1003f7ada3488
10c81fdhttps://github.com/getsentry/sentry-ruby/commit/10c81fd525e1a3a532e62f3afa867770d6e0db0e
Compare https://github.com/getsentry/sentry-ruby/compare/8932f038e194b4513f1b5768c0e1003f7ada3488..10c81fd525e1a3a532e62f3afa867770d6e0db0e
March 19, 2026 15:59https://github.com/getsentry/sentry-ruby/pull/2902#event-23723234201
https://github.com/apps/cursor
cursorhttps://github.com/apps/cursor
Mar 19, 2026 https://github.com/getsentry/sentry-ruby/pull/2902#pullrequestreview-3976242944
View reviewed changes https://github.com/getsentry/sentry-ruby/pull/2902/files
cursorhttps://github.com/apps/cursor
https://github.com/getsentry/sentry-ruby/pull/2902#pullrequestreview-3976242944
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
https://cursor.com/open?data=eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6ImJ1Z2JvdC12MiJ9.eyJ2ZXJzaW9uIjoxLCJ0eXBlIjoiQlVHQk9UX0ZJWF9BTExfSU5fQ1VSU09SIiwiZGF0YSI6eyJyZWRpc0tleSI6ImJ1Z2JvdC1tdWx0aTowN2QyY2FhOS0xM2U2LTRjZTUtYTA1YS0xOGUzMGExMzA0MTkiLCJlbmNyeXB0aW9uS2V5Ijoibl9fRjRCMUw2aTB0MHV6dUt2cUpzaVZRWGV5NmloSVlOalQwTlNDMXpJcyIsImJyYW5jaCI6InBlcmYvaG90LXBhdGgtYWxsb2NhdGlvbi1hdm9pZGFuY2UiLCJyZXBvT3duZXIiOiJnZXRzZW50cnkiLCJyZXBvTmFtZSI6InNlbnRyeS1ydWJ5In0sImlhdCI6MTc3MzkzNjQwMCwiZXhwIjoxNzc2NTI4NDAwfQ.hZO5UnT362nlLYMAgsQWBB1CWJs9tFmYVtZ1KW4rIQqsBSHDrIuajLvVVw3j3oQ66weSl0N59ridj9HH9Ro2nYELf6nsWcYDvV8EfmTVTHUa0ga5iKyuoIzAKfVFHe8P--zgPW1VBhq7TQoEVyBcItPx7YR4RRsWdkheq_EotsXAI9BgLsXczjmFMSbXAtS5ho9z0hYWA4puwCWiPuH6Wf3wREZ7IERVMMbb9YryM6tfRI3cJssU4u_QfIFK8Bp89P8gy79ZJhZyH-94et0Paks1jD4RyauL1iTI_mUqpmfeM3UNVS2Ss0B_fI5Yb_6CV5T1qiwNoZppcurfTB-ZMw
Cursor dashboardhttps://www.cursor.com/dashboard?tab=bugbot
Please reload this pagehttps://github.com/getsentry/sentry-ruby/pull/2902
sentry-ruby/lib/sentry/backtrace.rbhttps://github.com/getsentry/sentry-ruby/pull/2902/files#diff-bae79afe89d993f8810180cb5e4e14e0c757c490ee363893deab61c8a0912e84
Please reload this pagehttps://github.com/getsentry/sentry-ruby/pull/2902
https://github.com/sl0thentr0py
sl0thentr0pyhttps://github.com/sl0thentr0py
force-pushedhttps://github.com/getsentry/sentry-ruby/compare/9c584bc1682667e6bff3ba6f3867c7ae717ad43e..332d863cfde2acdab91765321aa345d86c25828f
9c584bchttps://github.com/getsentry/sentry-ruby/commit/9c584bc1682667e6bff3ba6f3867c7ae717ad43e
332d863https://github.com/getsentry/sentry-ruby/commit/332d863cfde2acdab91765321aa345d86c25828f
Compare https://github.com/getsentry/sentry-ruby/compare/9c584bc1682667e6bff3ba6f3867c7ae717ad43e..332d863cfde2acdab91765321aa345d86c25828f
March 19, 2026 16:11https://github.com/getsentry/sentry-ruby/pull/2902#event-23723685185
https://github.com/HazAT
https://github.com/sl0thentr0py
perf: avoid unnecessary allocations in hot pathshttps://github.com/getsentry/sentry-ruby/pull/2902/commits/0995848d9f9cf91dbcd7cae702d7c76465b1fceb
0995848https://github.com/getsentry/sentry-ruby/pull/2902/commits/0995848d9f9cf91dbcd7cae702d7c76465b1fceb
https://github.com/sl0thentr0py
sl0thentr0pyhttps://github.com/sl0thentr0py
force-pushedhttps://github.com/getsentry/sentry-ruby/compare/332d863cfde2acdab91765321aa345d86c25828f..0995848d9f9cf91dbcd7cae702d7c76465b1fceb
332d863https://github.com/getsentry/sentry-ruby/commit/332d863cfde2acdab91765321aa345d86c25828f
0995848https://github.com/getsentry/sentry-ruby/commit/0995848d9f9cf91dbcd7cae702d7c76465b1fceb
Compare https://github.com/getsentry/sentry-ruby/compare/332d863cfde2acdab91765321aa345d86c25828f..0995848d9f9cf91dbcd7cae702d7c76465b1fceb
March 19, 2026 16:16https://github.com/getsentry/sentry-ruby/pull/2902#event-23723858504
https://github.com/apps/sentry
sentryhttps://github.com/apps/sentry
Mar 19, 2026 https://github.com/getsentry/sentry-ruby/pull/2902#pullrequestreview-3976320371
View reviewed changes https://github.com/getsentry/sentry-ruby/pull/2902/files/0995848d9f9cf91dbcd7cae702d7c76465b1fceb
sentry-ruby/lib/sentry/interfaces/stacktrace.rbhttps://github.com/getsentry/sentry-ruby/pull/2902/files/0995848d9f9cf91dbcd7cae702d7c76465b1fceb#diff-fb294ff12105009e692eeecb46d251c72a200092afcbb181404fce8be1085dd9
Please reload this pagehttps://github.com/getsentry/sentry-ruby/pull/2902
https://github.com/sl0thentr0py
sl0thentr0pyhttps://github.com/sl0thentr0py
Mar 19, 2026 https://github.com/getsentry/sentry-ruby/pull/2902#pullrequestreview-3976342472
View reviewed changes https://github.com/getsentry/sentry-ruby/pull/2902/files/0995848d9f9cf91dbcd7cae702d7c76465b1fceb
https://github.com/sl0thentr0py
sl0thentr0pyhttps://github.com/sl0thentr0py
949bc6bhttps://github.com/getsentry/sentry-ruby/commit/949bc6bb6b61bc6c957a30195e0eef61e1cd3294
Mar 19, 2026https://github.com/getsentry/sentry-ruby/pull/2902#event-23724163977
Please reload this pagehttps://github.com/getsentry/sentry-ruby/pull/2902
https://github.com/sl0thentr0py
sl0thentr0pyhttps://github.com/sl0thentr0py
March 19, 2026 16:24https://github.com/getsentry/sentry-ruby/pull/2902#event-23724165584
https://github.com/apps/sentry-release-bot
sentry-release-bothttps://github.com/apps/sentry-release-bot
Jun 1, 2026 https://github.com/getsentry/sentry-ruby/pull/2902#ref-issue-4564475615
publish: getsentry/sentry-ruby@6.6.0 getsentry/publish#8352 https://github.com/getsentry/publish/issues/8352
https://github.co/hiddenchars
https://github.com/getsentry/sentry-ruby/pull/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgetsentry%2Fsentry-ruby%2Fpull%2F2902
https://github.com/sl0thentr0py
sl0thentr0py https://github.com/sl0thentr0py
https://github.com/getsentry/sentry-ruby/pull/2902/files/0995848d9f9cf91dbcd7cae702d7c76465b1fceb
https://github.com/apps/sentry
sentry[bot] https://github.com/apps/sentry
https://github.com/getsentry/sentry-ruby/pull/2902/files/0995848d9f9cf91dbcd7cae702d7c76465b1fceb
https://github.com/apps/cursor
cursor[bot] https://github.com/apps/cursor
https://github.com/getsentry/sentry-ruby/pull/2902/files/10c81fd525e1a3a532e62f3afa867770d6e0db0e
Please reload this pagehttps://github.com/getsentry/sentry-ruby/pull/2902
Please reload this pagehttps://github.com/getsentry/sentry-ruby/pull/2902
https://github.com/HazAT
https://github.com/sl0thentr0py
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Response headers:
Servergithub.com
Content-Typetext/html; charset=utf-8
Cache-Controlno-cache

Viewport: width=device-width


URLs of crawlers that visited me.