René's URL Explorer Experiment


Title: Use orjson instead of json, when available by hauntsaninja · Pull Request #17955 · python/mypy · GitHub

Open Graph Title: Use orjson instead of json, when available by hauntsaninja · Pull Request #17955 · python/mypy

X Title: Use orjson instead of json, when available by hauntsaninja · Pull Request #17955 · python/mypy

Description: Optional static typing for Python. Contribute to python/mypy development by creating an account on GitHub.

Open Graph Description: For mypy -c 'import torch', the cache load time goes from 0.44s to 0.25s as measured by manager's data_json_load_time. If I time dump times specifically, I see a saving of 0.65s to 0.07...

X Description: For mypy -c 'import torch', the cache load time goes from 0.44s to 0.25s as measured by manager's data_json_load_time. If I time dump times specifically, I see a saving of 0...

Opengraph URL: https://github.com/python/mypy/pull/17955

X: @github

direct link

Domain: github.com

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:7f4b30b4-9e31-1a7d-ae42-87a6990e9c80
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idDCA0:3A7693:234699E:2FDD584:6B002929
html-safe-nonce6c4093a008b817dd5dbae3e36d372cd0a2600c15ca7c5249303306fad9bf04f5
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEQ0EwOjNBNzY5MzoyMzQ2OTlFOjJGREQ1ODQ6NkIwMDI5MjkiLCJ2aXNpdG9yX2lkIjoiNDY5MzU3NTA0MzUwOTEzNTY1NyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac6e04c99404836f82a38b3d3efb11e585a1e4c56ec09368b327dfc634118f5233
hovercard-subject-tagpull_request:2124631234
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/python/mypy/17955/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/6b6601099b060600b4279fe2b0bfb1bb6ad86b798c4199c410536a307f539840/python/mypy/pull/17955
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/6b6601099b060600b4279fe2b0bfb1bb6ad86b798c4199c410536a307f539840/python/mypy/pull/17955
og:image:altFor mypy -c 'import torch', the cache load time goes from 0.44s to 0.25s as measured by manager's data_json_load_time. If I time dump times specifically, I see a saving of 0.65s to 0.07...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamehauntsaninja
hostnamegithub.com
expected-hostnamegithub.com
None4eb4cba0d69f045374ac15de9666d22b0961e1d555cc3824f36b7734c00c78e0
turbo-cache-controlno-cache
go-importgithub.com/python/mypy git https://github.com/python/mypy.git
octolytics-dimension-user_id1525981
octolytics-dimension-user_loginpython
octolytics-dimension-repository_id7053637
octolytics-dimension-repository_nwopython/mypy
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id7053637
octolytics-dimension-repository_network_root_nwopython/mypy
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
release44c658b24abf00491fb7ae5f56d42c9f38cbeab2
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/python/mypy/pull/17955#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fmypy%2Fpull%2F17955
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%2Fpython%2Fmypy%2Fpull%2F17955
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=python%2Fmypy
Reloadhttps://github.com/python/mypy/pull/17955
Reloadhttps://github.com/python/mypy/pull/17955
Reloadhttps://github.com/python/mypy/pull/17955
pythonhttps://github.com/python
mypyhttps://github.com/python/mypy
Codehttps://github.com/python/mypy
Issues2.7k (2.7k)https://github.com/python/mypy/issues
Pull requests547 (547)https://github.com/python/mypy/pulls
Actionshttps://github.com/python/mypy/actions
Projectshttps://github.com/python/mypy/projects
Wikihttps://github.com/python/mypy/wiki
Security and qualityhttps://github.com/python/mypy/security
Insightshttps://github.com/python/mypy/insights
https://github.com/python/mypy
hauntsaninjahttps://github.com/hauntsaninja
python:masterhttps://github.com/python/mypy/tree/master
hauntsaninja:use-orjsonhttps://github.com/hauntsaninja/mypy/tree/use-orjson
Conversationhttps://github.com/python/mypy/pull/17955
Commits5 (5)https://github.com/python/mypy/pull/17955/commits
Checkshttps://github.com/python/mypy/pull/17955/checks
Files changedhttps://github.com/python/mypy/pull/17955/files
Use orjson instead of json, when availablehttps://github.com/python/mypy/pull/17955#top
hauntsaninjahttps://github.com/hauntsaninja
python:masterhttps://github.com/python/mypy/tree/master
hauntsaninja:use-orjsonhttps://github.com/hauntsaninja/mypy/tree/use-orjson
https://github.com/hauntsaninja
hauntsaninjahttps://github.com/hauntsaninja
Oct 15, 2024https://github.com/python/mypy/pull/17955#issue-2588010710
Please reload this pagehttps://github.com/python/mypy/pull/17955
#3456https://github.com/python/mypy/issues/3456
Please reload this pagehttps://github.com/python/mypy/pull/17955
https://github.com/hauntsaninja
hauntsaninjahttps://github.com/hauntsaninja
force-pushedhttps://github.com/python/mypy/compare/f6f7cb99dfd50bc2626a756a98d70860522f567d..82969b8b27ad99d134fc1e7d992243b05a307f2f
f6f7cb9https://github.com/python/mypy/commit/f6f7cb99dfd50bc2626a756a98d70860522f567d
82969b8https://github.com/python/mypy/commit/82969b8b27ad99d134fc1e7d992243b05a307f2f
Compare https://github.com/python/mypy/compare/f6f7cb99dfd50bc2626a756a98d70860522f567d..82969b8b27ad99d134fc1e7d992243b05a307f2f
October 15, 2024 08:21https://github.com/python/mypy/pull/17955#event-14653033304
https://github.com/hauntsaninja
Use orjson instead of json, when availablehttps://github.com/python/mypy/pull/17955/commits/4103892b71f8667d03e7372eafe448d9e57e4e46
4103892https://github.com/python/mypy/pull/17955/commits/4103892b71f8667d03e7372eafe448d9e57e4e46
https://github.com/hauntsaninja
hauntsaninjahttps://github.com/hauntsaninja
force-pushedhttps://github.com/python/mypy/compare/b0db03417899201499c69721a54a129751b3843e..4103892b71f8667d03e7372eafe448d9e57e4e46
b0db034https://github.com/python/mypy/commit/b0db03417899201499c69721a54a129751b3843e
4103892https://github.com/python/mypy/commit/4103892b71f8667d03e7372eafe448d9e57e4e46
Compare https://github.com/python/mypy/compare/b0db03417899201499c69721a54a129751b3843e..4103892b71f8667d03e7372eafe448d9e57e4e46
October 15, 2024 08:25https://github.com/python/mypy/pull/17955#event-14653094635
https://github.com/apps/github-actions
Sign in to viewhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fmypy%2Fpull%2F17955
https://github.com/JukkaL
JukkaLhttps://github.com/JukkaL
Oct 15, 2024https://github.com/python/mypy/pull/17955#issuecomment-2413270549
Please reload this pagehttps://github.com/python/mypy/pull/17955
hauntsaninjahttps://github.com/hauntsaninja
October 15, 2024 01:47https://github.com/python/mypy/pull/17955#commits-pushed-a27b3d4
https://github.com/hauntsaninja
mischttps://github.com/python/mypy/pull/17955/commits/a27b3d4052de8b744904bda1dc89444ecafe79ff
a27b3d4https://github.com/python/mypy/pull/17955/commits/a27b3d4052de8b744904bda1dc89444ecafe79ff
https://github.com/hauntsaninja
fix testhttps://github.com/python/mypy/pull/17955/commits/3f8ff759d31eec4d5b3bde41d3b1c8804eed2a42
3f8ff75https://github.com/python/mypy/pull/17955/commits/3f8ff759d31eec4d5b3bde41d3b1c8804eed2a42
https://github.com/hauntsaninja
hauntsaninjahttps://github.com/hauntsaninja
Oct 15, 2024 https://github.com/python/mypy/pull/17955#pullrequestreview-2368607227
View reviewed changes https://github.com/python/mypy/pull/17955/files/3f8ff759d31eec4d5b3bde41d3b1c8804eed2a42
mypy/util.pyhttps://github.com/python/mypy/pull/17955/files/3f8ff759d31eec4d5b3bde41d3b1c8804eed2a42#diff-c5edcfc3c53fb5caee266e3df073504e99c876a4de33367d71591cc205ecf0ec
hauntsaninjahttps://github.com/hauntsaninja
Oct 15, 2024https://github.com/python/mypy/pull/17955#discussion_r1800730390
Please reload this pagehttps://github.com/python/mypy/pull/17955
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/mypy/pull/17955
JukkaLhttps://github.com/JukkaL
Oct 16, 2024https://github.com/python/mypy/pull/17955#discussion_r1802879626
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/mypy/pull/17955
https://github.com/hauntsaninja
hauntsaninjahttps://github.com/hauntsaninja
Oct 15, 2024https://github.com/python/mypy/pull/17955#issuecomment-2413287902
Please reload this pagehttps://github.com/python/mypy/pull/17955
Please reload this pagehttps://github.com/python/mypy/pull/17955
https://github.com/apps/github-actions
Sign in to viewhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fmypy%2Fpull%2F17955
https://github.com/JukkaL
JukkaLhttps://github.com/JukkaL
Oct 15, 2024https://github.com/python/mypy/pull/17955#issuecomment-2413377053
Please reload this pagehttps://github.com/python/mypy/pull/17955
https://github.com/hauntsaninja
sort_keyshttps://github.com/python/mypy/pull/17955/commits/263cb10987e529505a37227e29a5a6ec2bdb3b69
263cb10https://github.com/python/mypy/pull/17955/commits/263cb10987e529505a37227e29a5a6ec2bdb3b69
https://github.com/hauntsaninja
hauntsaninjahttps://github.com/hauntsaninja
Oct 16, 2024 https://github.com/python/mypy/pull/17955#pullrequestreview-2371207940
View reviewed changes https://github.com/python/mypy/pull/17955/files/263cb10987e529505a37227e29a5a6ec2bdb3b69
hauntsaninjahttps://github.com/hauntsaninja
https://github.com/python/mypy/pull/17955#pullrequestreview-2371207940
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/mypy/pull/17955
https://github.com/hauntsaninja
hauntsaninjahttps://github.com/hauntsaninja
Oct 16, 2024 https://github.com/python/mypy/pull/17955#ref-issue-2544279862
1.12/1.13 Release Tracking Issue #17815 https://github.com/python/mypy/issues/17815
https://github.com/apps/github-actions
Sign in to viewhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fmypy%2Fpull%2F17955
https://github.com/JukkaL
JukkaLhttps://github.com/JukkaL
Oct 16, 2024https://github.com/python/mypy/pull/17955#issuecomment-2416458152
Please reload this pagehttps://github.com/python/mypy/pull/17955
https://github.com/JukkaL
JukkaLhttps://github.com/JukkaL
Oct 16, 2024 https://github.com/python/mypy/pull/17955#pullrequestreview-2372055268
View reviewed changes https://github.com/python/mypy/pull/17955/files/263cb10987e529505a37227e29a5a6ec2bdb3b69
mypy/util.pyhttps://github.com/python/mypy/pull/17955/files/3f8ff759d31eec4d5b3bde41d3b1c8804eed2a42#diff-c5edcfc3c53fb5caee266e3df073504e99c876a4de33367d71591cc205ecf0ec
JukkaLhttps://github.com/JukkaL
Oct 16, 2024https://github.com/python/mypy/pull/17955#discussion_r1802879626
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/mypy/pull/17955
https://github.com/hauntsaninja
fix missing spothttps://github.com/python/mypy/pull/17955/commits/bd6536d4dc8185e8060e5d61ec538193db5370d9
bd6536dhttps://github.com/python/mypy/pull/17955/commits/bd6536d4dc8185e8060e5d61ec538193db5370d9
https://github.com/hauntsaninja
hauntsaninjahttps://github.com/hauntsaninja
Oct 16, 2024https://github.com/python/mypy/pull/17955#issuecomment-2417899305
Please reload this pagehttps://github.com/python/mypy/pull/17955
Please reload this pagehttps://github.com/python/mypy/pull/17955
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
Oct 16, 2024https://github.com/python/mypy/pull/17955#issuecomment-2417939973
mypy_primerhttps://github.com/hauntsaninja/mypy_primer
Please reload this pagehttps://github.com/python/mypy/pull/17955
https://github.com/hauntsaninja
hauntsaninjahttps://github.com/hauntsaninja
Oct 16, 2024https://github.com/python/mypy/pull/17955#issuecomment-2417947430
#17974https://github.com/python/mypy/pull/17974
Please reload this pagehttps://github.com/python/mypy/pull/17955
https://github.com/hauntsaninja
hauntsaninjahttps://github.com/hauntsaninja
c1f2db3https://github.com/python/mypy/commit/c1f2db34fbec3b8347f9037703a804a4cd427c33
Oct 16, 2024https://github.com/python/mypy/pull/17955#event-14689369205
https://github.com/hauntsaninja
hauntsaninjahttps://github.com/hauntsaninja
October 16, 2024 21:03https://github.com/python/mypy/pull/17955#event-14689369490
https://github.com/hauntsaninja
hauntsaninjahttps://github.com/hauntsaninja
Oct 17, 2024 https://github.com/python/mypy/pull/17955#ref-pullrequest-2593420541
Add faster-cache extra, test in CI #17978 https://github.com/python/mypy/pull/17978
JukkaLhttps://github.com/JukkaL
Oct 17, 2024 https://github.com/python/mypy/pull/17955#ref-commit-61ad5a4
https://github.com/hauntsaninja
Add faster-cache extra, test in CI (https://github.com/python/mypy/commit/61ad5a47c0185549cb40b287aca8df1e5e862f0c
#17978https://github.com/python/mypy/pull/17978
)https://github.com/python/mypy/commit/61ad5a47c0185549cb40b287aca8df1e5e862f0c
61ad5a4https://github.com/python/mypy/commit/61ad5a47c0185549cb40b287aca8df1e5e862f0c
#17955https://github.com/python/mypy/pull/17955
hauntsaninjahttps://github.com/hauntsaninja
Oct 20, 2024 https://github.com/python/mypy/pull/17955#ref-commit-7c27808
https://github.com/hauntsaninja
Use orjson instead of json, when available (https://github.com/python/mypy/commit/7c27808a0be2fc205788a826be83cbb0a68f89e1
#17955https://github.com/python/mypy/pull/17955
)https://github.com/python/mypy/commit/7c27808a0be2fc205788a826be83cbb0a68f89e1
7c27808https://github.com/python/mypy/commit/7c27808a0be2fc205788a826be83cbb0a68f89e1
#3456https://github.com/python/mypy/issues/3456
hauntsaninjahttps://github.com/hauntsaninja
Oct 20, 2024 https://github.com/python/mypy/pull/17955#ref-commit-5c4d2db
https://github.com/hauntsaninja
Add faster-cache extra, test in CI (https://github.com/python/mypy/commit/5c4d2db7009fa9035b8b3fcffe25182aaa4dc846
#17978https://github.com/python/mypy/pull/17978
)https://github.com/python/mypy/commit/5c4d2db7009fa9035b8b3fcffe25182aaa4dc846
5c4d2dbhttps://github.com/python/mypy/commit/5c4d2db7009fa9035b8b3fcffe25182aaa4dc846
#17955https://github.com/python/mypy/pull/17955
https://github.com/hauntsaninja
hauntsaninjahttps://github.com/hauntsaninja
Oct 21, 2024 https://github.com/python/mypy/pull/17955#ref-pullrequest-2599763202
Changelog for 1.13 #18000 https://github.com/python/mypy/pull/18000
https://github.com/simon-liebehenschel
simon-liebehenschelhttps://github.com/simon-liebehenschel
Nov 30, 2024 https://github.com/python/mypy/pull/17955#pullrequestreview-2470833950
View reviewed changes https://github.com/python/mypy/pull/17955/files/bd6536d4dc8185e8060e5d61ec538193db5370d9
mypy/util.pyhttps://github.com/python/mypy/pull/17955/files/bd6536d4dc8185e8060e5d61ec538193db5370d9#diff-c5edcfc3c53fb5caee266e3df073504e99c876a4de33367d71591cc205ecf0ec
simon-liebehenschelhttps://github.com/simon-liebehenschel
Nov 30, 2024https://github.com/python/mypy/pull/17955#discussion_r1864175442
Please reload this pagehttps://github.com/python/mypy/pull/17955
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
@hauntsaninjahttps://github.com/hauntsaninja
@JukkaLhttps://github.com/JukkaL
Please reload this pagehttps://github.com/python/mypy/pull/17955
hauntsaninjahttps://github.com/hauntsaninja
Nov 30, 2024https://github.com/python/mypy/pull/17955#discussion_r1864223503
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
https://github.com/ijl/orjson/issues/483#issuecomment-2179763756https://github.com/ijl/orjson/issues/483#issuecomment-2179763756
Please reload this pagehttps://github.com/python/mypy/pull/17955
https://github.co/hiddenchars
https://github.com/python/mypy/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%2Fpython%2Fmypy%2Fpull%2F17955
https://github.com/JukkaL
JukkaL https://github.com/JukkaL
https://github.com/python/mypy/pull/17955/files/263cb10987e529505a37227e29a5a6ec2bdb3b69
https://github.com/simon-liebehenschel
simon-liebehenschel https://github.com/simon-liebehenschel
https://github.com/python/mypy/pull/17955/files/bd6536d4dc8185e8060e5d61ec538193db5370d9
Please reload this pagehttps://github.com/python/mypy/pull/17955
Please reload this pagehttps://github.com/python/mypy/pull/17955
https://github.com/hauntsaninja
https://github.com/JukkaL
https://github.com/simon-liebehenschel
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.