René's URL Explorer Experiment


Title: gh-118761: Improve import time of `sqlite3` by Wulian233 · Pull Request #129118 · python/cpython · GitHub

Open Graph Title: gh-118761: Improve import time of `sqlite3` by Wulian233 · Pull Request #129118 · python/cpython

X Title: gh-118761: Improve import time of `sqlite3` by Wulian233 · Pull Request #129118 · python/cpython

Description: Improve import time of sqlite3 by around 2 times Benchmark on Windows10, Python official 3.13.1 D:\Python313>hyperfine --warmup 8 "./python -c 'from sqlite3 import *'" "./python -c 'from sqlite3_new import *'" Benchmark 1: ./python -c 'from sqlite3 import *' Time (mean ± σ): 135.0 µs ± 174.7 µs [User: 1743.5 µs, System: 2196.8 µs] Range (min … max): 0.0 µs … 1225.1 µs 404 runs Benchmark 2: ./python -c 'from sqlite3_new import *' Time (mean ± σ): 153.7 µs ± 196.7 µs [User: 1868.9 µs, System: 1971.3 µs] Range (min … max): 0.0 µs … 2125.8 µs 409 runs Summary ./python -c 'from sqlite3 import *' ran 1.14 ± 2.07 times faster than ./python -c 'from sqlite3_new import *' Issue: gh-118761

Open Graph Description: Improve import time of sqlite3 by around 2 times Benchmark on Windows10, Python official 3.13.1 D:\Python313>hyperfine --warmup 8 "./python -c 'from sqlite3 import *'" "./...

X Description: Improve import time of sqlite3 by around 2 times Benchmark on Windows10, Python official 3.13.1 D:\Python313>hyperfine --warmup 8 "./python -c 'from sqlite3 import *&#39...

Opengraph URL: https://github.com/python/cpython/pull/129118

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:66d49710-5afb-2820-64e9-f969db541c3d
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idE462:E6F8F:D7DFF:12E50A:696A661D
html-safe-nonced4a75c20f1821955e6578762b13bb33376e6e8d4bdc7e4747972b25515dfe8d1
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFNDYyOkU2RjhGOkQ3REZGOjEyRTUwQTo2OTZBNjYxRCIsInZpc2l0b3JfaWQiOiI4Njk2MzYzNDkyNTIxNDM2NzAxIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac7be0322c75693d359a33ee0e00b8e63e1529287b3f60c50872ca14ba41e72ce8
hovercard-subject-tagpull_request:2289104934
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/python/cpython/pull/129118/files
twitter:imagehttps://avatars.githubusercontent.com/u/71213467?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/71213467?s=400&v=4
og:image:altImprove import time of sqlite3 by around 2 times Benchmark on Windows10, Python official 3.13.1 D:\Python313>hyperfine --warmup 8 "./python -c 'from sqlite3 import *'" "./...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None9b7735a184970dd9333b2cbe036c8f3c0a9108c64aaa93827c5a64fc70993392
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/python/cpython git https://github.com/python/cpython.git
octolytics-dimension-user_id1525981
octolytics-dimension-user_loginpython
octolytics-dimension-repository_id81598961
octolytics-dimension-repository_nwopython/cpython
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id81598961
octolytics-dimension-repository_network_root_nwopython/cpython
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release87cbd411c2982752221b5751d583a515b23bf5fa
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/pull/129118/files#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F129118%2Ffiles
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
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
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
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/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%2Fpython%2Fcpython%2Fpull%2F129118%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=python%2Fcpython
Reloadhttps://github.com/python/cpython/pull/129118/files
Reloadhttps://github.com/python/cpython/pull/129118/files
Reloadhttps://github.com/python/cpython/pull/129118/files
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/129118/files
Notifications https://github.com/login?return_to=%2Fpython%2Fcpython
Fork 33.9k https://github.com/login?return_to=%2Fpython%2Fcpython
Star 71.1k https://github.com/login?return_to=%2Fpython%2Fcpython
Code https://github.com/python/cpython
Issues 5k+ https://github.com/python/cpython/issues
Pull requests 2.1k https://github.com/python/cpython/pulls
Actions https://github.com/python/cpython/actions
Projects 31 https://github.com/python/cpython/projects
Security Uh oh! There was an error while loading. Please reload this page. https://github.com/python/cpython/security
Please reload this pagehttps://github.com/python/cpython/pull/129118/files
Insights https://github.com/python/cpython/pulse
Code https://github.com/python/cpython
Issues https://github.com/python/cpython/issues
Pull requests https://github.com/python/cpython/pulls
Actions https://github.com/python/cpython/actions
Projects https://github.com/python/cpython/projects
Security https://github.com/python/cpython/security
Insights https://github.com/python/cpython/pulse
Sign up for GitHub https://github.com/signup?return_to=%2Fpython%2Fcpython%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fpython%2Fcpython%2Fissues%2Fnew%2Fchoose
Wulian233https://github.com/Wulian233
python:mainhttps://github.com/python/cpython/tree/main
Wulian233:sqlitehttps://github.com/Wulian233/cpython/tree/sqlite
Conversation 16 https://github.com/python/cpython/pull/129118
Commits 10 https://github.com/python/cpython/pull/129118/commits
Checks 35 https://github.com/python/cpython/pull/129118/checks
Files changed https://github.com/python/cpython/pull/129118/files
Please reload this pagehttps://github.com/python/cpython/pull/129118/files
gh-118761: Improve import time of sqlite3 https://github.com/python/cpython/pull/129118/files#top
Show all changes 10 commits https://github.com/python/cpython/pull/129118/files
2830c65 Improve import time of sqlite3 Wulian233 Jan 21, 2025 https://github.com/python/cpython/pull/129118/commits/2830c657afbf77118cef0b037da88703b0e93c64
c6ca677 fix? Wulian233 Jan 21, 2025 https://github.com/python/cpython/pull/129118/commits/c6ca6774a38cb07b5f638be539dce386e5bd75ed
d727e36 comment Wulian233 Jan 26, 2025 https://github.com/python/cpython/pull/129118/commits/d727e36d843297919ca993db105c717b8ac4c9a3
1683261 Merge branch 'sqlite' of https://github.com/Wulian233/cpython into sq… Wulian233 Jan 26, 2025 https://github.com/python/cpython/pull/129118/commits/168326171e84dda6780caa159dbe261d8d8d9cc9
d456d45 comment Wulian233 Jan 26, 2025 https://github.com/python/cpython/pull/129118/commits/d456d45d181554254bf1f4ad67d3c2c51b2dc44e
14b8c29 Update __main__.py Wulian233 Jan 26, 2025 https://github.com/python/cpython/pull/129118/commits/14b8c29a2bcc3ce334d79a3ef41389a3872f0258
1bdb28f fix Wulian233 Jan 26, 2025 https://github.com/python/cpython/pull/129118/commits/1bdb28f1f4b3e884b0bda5baa057e81a3f40d1c6
bec7330 Merge branch 'main' into sqlite erlend-aasland Feb 2, 2025 https://github.com/python/cpython/pull/129118/commits/bec7330cd9b3641df31afbb7fb41f97065ba879f
e905f12 Add lazy import comment Wulian233 Feb 3, 2025 https://github.com/python/cpython/pull/129118/commits/e905f127dcfb482732893fa7ff8106be08824441
01ef116 Merge branch 'main' into sqlite AA-Turner Feb 7, 2025 https://github.com/python/cpython/pull/129118/commits/01ef116b01d75e91f62205e021618a0cd510ef54
Clear filters https://github.com/python/cpython/pull/129118/files
Please reload this pagehttps://github.com/python/cpython/pull/129118/files
Please reload this pagehttps://github.com/python/cpython/pull/129118/files
dbapi2.py https://github.com/python/cpython/pull/129118/files#diff-c4a87b049fc8cd8f0d84fc03d88f084fdef2d15ddd4bc6f1aa9e991fd6dd940b
2025-01-21-14-51-44.gh-issue-118761.Z0F-d5.rst https://github.com/python/cpython/pull/129118/files#diff-4219f6c00dd63ea2280c5ed39d76bfa6ae36197e4716c555e2b18b7e9a58befb
https://github.com/python/cpython/blob/main/.github/CODEOWNERS#L578
Lib/sqlite3/dbapi2.pyhttps://github.com/python/cpython/pull/129118/files#diff-c4a87b049fc8cd8f0d84fc03d88f084fdef2d15ddd4bc6f1aa9e991fd6dd940b
View file https://github.com/Wulian233/cpython/blob/01ef116b01d75e91f62205e021618a0cd510ef54/Lib/sqlite3/dbapi2.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/129118/{{ revealButtonHref }}
https://github.com/python/cpython/pull/129118/files#diff-c4a87b049fc8cd8f0d84fc03d88f084fdef2d15ddd4bc6f1aa9e991fd6dd940b
https://github.com/python/cpython/pull/129118/files#diff-c4a87b049fc8cd8f0d84fc03d88f084fdef2d15ddd4bc6f1aa9e991fd6dd940b
https://github.com/python/cpython/pull/129118/files#diff-c4a87b049fc8cd8f0d84fc03d88f084fdef2d15ddd4bc6f1aa9e991fd6dd940b
Misc/NEWS.d/next/Library/2025-01-21-14-51-44.gh-issue-118761.Z0F-d5.rsthttps://github.com/python/cpython/pull/129118/files#diff-4219f6c00dd63ea2280c5ed39d76bfa6ae36197e4716c555e2b18b7e9a58befb
View file https://github.com/Wulian233/cpython/blob/01ef116b01d75e91f62205e021618a0cd510ef54/Misc/NEWS.d/next/Library/2025-01-21-14-51-44.gh-issue-118761.Z0F-d5.rst
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/129118/{{ revealButtonHref }}
Please reload this pagehttps://github.com/python/cpython/pull/129118/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.