René's URL Explorer Experiment


Title: Speed up immediate unpack when freeze: true by 10% by skipkayhil · Pull Request #396 · msgpack/msgpack-ruby · GitHub

Open Graph Title: Speed up immediate unpack when freeze: true by 10% by skipkayhil · Pull Request #396 · msgpack/msgpack-ruby

X Title: Speed up immediate unpack when freeze: true by 10% by skipkayhil · Pull Request #396 · msgpack/msgpack-ruby

Description: Rename object_complete_symbol -> frozen To use with other, non-symbol, pre-frozen objects. Speed up immediate unpack when freeze: true by 10% Since immediates are already frozen, we can skip over "maybe freeze" behavior completely for those types. ruby 4.0.2 (2026-03-17 revision d3da9fec82) +YJIT +PRISM [x86_64-linux] Warming up -------------------------------------- control 5.437k i/100ms frozen before 4.733k i/100ms Calculating ------------------------------------- control 54.830k (± 1.8%) i/s (18.24 μs/i) - 277.287k in 5.057252s frozen before 49.078k (± 1.9%) i/s (20.38 μs/i) - 246.116k in 5.014762s Comparison: frozen after: 55009.0 i/s control: 54829.6 i/s - same-ish: difference falls within error frozen before: 49078.3 i/s - 1.12x slower require 'msgpack' require 'benchmark/ips' data = [] 100.times do data << rand(0..127) data << -rand(0..30) data << nil data << true data << false data << rand(0..65535) end packed = MessagePack.pack(data) up_ctl = MessagePack::Unpacker.new(freeze: false) up_frz = MessagePack::Unpacker.new(freeze: true) Benchmark.ips do |x| x.report("control") { up_ctl.feed(packed); up_ctl.read } x.report("frozen #{ENV.fetch("STAGE", "after")}") { up_frz.feed(packed); up_frz.read } x.save!("/tmp/msgpack_un_freeze") x.compare! end

Open Graph Description: Rename object_complete_symbol -> frozen To use with other, non-symbol, pre-frozen objects. Speed up immediate unpack when freeze: true by 10% Since immediates are already frozen, we can skip ov...

X Description: Rename object_complete_symbol -&gt; frozen To use with other, non-symbol, pre-frozen objects. Speed up immediate unpack when freeze: true by 10% Since immediates are already frozen, we can ski...

Opengraph URL: https://github.com/msgpack/msgpack-ruby/pull/396

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:8bd84980-7799-21c8-c459-93b3d3ecffd1
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idE80E:37A81A:23B5F20:30A1413:6A539CCF
html-safe-nonce031ea787e25ad1ae77f60f0b308098b1cac2143be98efbb23effaf048bca1919
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFODBFOjM3QTgxQToyM0I1RjIwOjMwQTE0MTM6NkE1MzlDQ0YiLCJ2aXNpdG9yX2lkIjoiMzU2ODQ0Njg0Nzc4OTAxNDIyMyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac52494c2477f277e9ae59e1536d69d0296c64cf78d87eb048f13d3568a71914a6
hovercard-subject-tagpull_request:3948494735
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///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/msgpack/msgpack-ruby/pull/396/files
twitter:imagehttps://avatars.githubusercontent.com/u/6014046?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/6014046?s=400&v=4
og:image:altRename object_complete_symbol -> frozen To use with other, non-symbol, pre-frozen objects. Speed up immediate unpack when freeze: true by 10% Since immediates are already frozen, we can skip ov...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
Noneb9a586c06a05a7a86fc7e3f4dbd03e42f6869085879aa184aa6369456dbd50fb
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/msgpack/msgpack-ruby git https://github.com/msgpack/msgpack-ruby.git
octolytics-dimension-user_id198264
octolytics-dimension-user_loginmsgpack
octolytics-dimension-repository_id2479813
octolytics-dimension-repository_nwomsgpack/msgpack-ruby
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id2479813
octolytics-dimension-repository_network_root_nwomsgpack/msgpack-ruby
turbo-body-classeslogged-out env-production page-responsive
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release07a982c1d40157c619b364352b704c3ce66bb332
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/msgpack/msgpack-ruby/pull/396/files#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmsgpack%2Fmsgpack-ruby%2Fpull%2F396%2Ffiles
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
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
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://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
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmsgpack%2Fmsgpack-ruby%2Fpull%2F396%2Ffiles
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=msgpack%2Fmsgpack-ruby
Reloadhttps://github.com/msgpack/msgpack-ruby/pull/396/files
Reloadhttps://github.com/msgpack/msgpack-ruby/pull/396/files
Reloadhttps://github.com/msgpack/msgpack-ruby/pull/396/files
Please reload this pagehttps://github.com/msgpack/msgpack-ruby/pull/396/files
msgpack https://github.com/msgpack
msgpack-rubyhttps://github.com/msgpack/msgpack-ruby
Notifications https://github.com/login?return_to=%2Fmsgpack%2Fmsgpack-ruby
Fork 124 https://github.com/login?return_to=%2Fmsgpack%2Fmsgpack-ruby
Star 788 https://github.com/login?return_to=%2Fmsgpack%2Fmsgpack-ruby
Code https://github.com/msgpack/msgpack-ruby
Issues 2 https://github.com/msgpack/msgpack-ruby/issues
Pull requests 1 https://github.com/msgpack/msgpack-ruby/pulls
Actions https://github.com/msgpack/msgpack-ruby/actions
Projects https://github.com/msgpack/msgpack-ruby/projects
Security and quality 1 https://github.com/msgpack/msgpack-ruby/security
Insights https://github.com/msgpack/msgpack-ruby/pulse
Code https://github.com/msgpack/msgpack-ruby
Issues https://github.com/msgpack/msgpack-ruby/issues
Pull requests https://github.com/msgpack/msgpack-ruby/pulls
Actions https://github.com/msgpack/msgpack-ruby/actions
Projects https://github.com/msgpack/msgpack-ruby/projects
Security and quality https://github.com/msgpack/msgpack-ruby/security
Insights https://github.com/msgpack/msgpack-ruby/pulse
Sign up for GitHub https://github.com/signup?return_to=%2Fmsgpack%2Fmsgpack-ruby%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fmsgpack%2Fmsgpack-ruby%2Fissues%2Fnew%2Fchoose
byroothttps://github.com/byroot
msgpack:masterhttps://github.com/msgpack/msgpack-ruby/tree/master
skipkayhil:hm-skokvxlqtrxvuppuhttps://github.com/skipkayhil/msgpack-ruby/tree/hm-skokvxlqtrxvuppu
Conversation 0 https://github.com/msgpack/msgpack-ruby/pull/396
Commits 2 https://github.com/msgpack/msgpack-ruby/pull/396/commits
Checks 19 https://github.com/msgpack/msgpack-ruby/pull/396/checks
Files changed 1 https://github.com/msgpack/msgpack-ruby/pull/396/files
Speed up immediate unpack when freeze: true by 10% https://github.com/msgpack/msgpack-ruby/pull/396/files#top
Show all changes 2 commits https://github.com/msgpack/msgpack-ruby/pull/396/files
c70295a Rename object_complete_symbol -> frozen skipkayhil Jun 27, 2026 https://github.com/msgpack/msgpack-ruby/pull/396/commits/c70295a0f177555240b95f5564ce773d15b2a4b1
a35d350 Speed up immediate unpack when freeze: true by 10% skipkayhil Jun 27, 2026 https://github.com/msgpack/msgpack-ruby/pull/396/commits/a35d35014dd874633476382af7fbe93813fbbcc2
Clear filters https://github.com/msgpack/msgpack-ruby/pull/396/files
Please reload this pagehttps://github.com/msgpack/msgpack-ruby/pull/396/files
Please reload this pagehttps://github.com/msgpack/msgpack-ruby/pull/396/files
ext/msgpack/unpacker.chttps://github.com/msgpack/msgpack-ruby/pull/396/files#diff-0a8e13fbee128419f9e1dc8001bf032554d9a4dba710decfa3243d82c742f91e
View file https://github.com/skipkayhil/msgpack-ruby/blob/a35d35014dd874633476382af7fbe93813fbbcc2/ext/msgpack/unpacker.c
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/msgpack/msgpack-ruby/pull/396/{{ revealButtonHref }}
https://github.com/msgpack/msgpack-ruby/pull/396/files#diff-0a8e13fbee128419f9e1dc8001bf032554d9a4dba710decfa3243d82c742f91e
https://github.com/msgpack/msgpack-ruby/pull/396/files#diff-0a8e13fbee128419f9e1dc8001bf032554d9a4dba710decfa3243d82c742f91e
https://github.com/msgpack/msgpack-ruby/pull/396/files#diff-0a8e13fbee128419f9e1dc8001bf032554d9a4dba710decfa3243d82c742f91e
https://github.com/msgpack/msgpack-ruby/pull/396/files#diff-0a8e13fbee128419f9e1dc8001bf032554d9a4dba710decfa3243d82c742f91e
https://github.com/msgpack/msgpack-ruby/pull/396/files#diff-0a8e13fbee128419f9e1dc8001bf032554d9a4dba710decfa3243d82c742f91e
https://github.com/msgpack/msgpack-ruby/pull/396/files#diff-0a8e13fbee128419f9e1dc8001bf032554d9a4dba710decfa3243d82c742f91e
https://github.com/msgpack/msgpack-ruby/pull/396/files#diff-0a8e13fbee128419f9e1dc8001bf032554d9a4dba710decfa3243d82c742f91e
https://github.com/msgpack/msgpack-ruby/pull/396/files#diff-0a8e13fbee128419f9e1dc8001bf032554d9a4dba710decfa3243d82c742f91e
https://github.com/msgpack/msgpack-ruby/pull/396/files#diff-0a8e13fbee128419f9e1dc8001bf032554d9a4dba710decfa3243d82c742f91e
https://github.com/msgpack/msgpack-ruby/pull/396/files#diff-0a8e13fbee128419f9e1dc8001bf032554d9a4dba710decfa3243d82c742f91e
https://github.com/msgpack/msgpack-ruby/pull/396/files#diff-0a8e13fbee128419f9e1dc8001bf032554d9a4dba710decfa3243d82c742f91e
https://github.com/msgpack/msgpack-ruby/pull/396/files#diff-0a8e13fbee128419f9e1dc8001bf032554d9a4dba710decfa3243d82c742f91e
Please reload this pagehttps://github.com/msgpack/msgpack-ruby/pull/396/files
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

Viewport: width=device-width


URLs of crawlers that visited me.