René's URL Explorer Experiment


Title: Why is python shipped with the `python` docker image slower than that of my local machine? · Issue #825 · docker-library/python · GitHub

Open Graph Title: Why is python shipped with the `python` docker image slower than that of my local machine? · Issue #825 · docker-library/python

X Title: Why is python shipped with the `python` docker image slower than that of my local machine? · Issue #825 · docker-library/python

Description: I've observed a roughly 11% performance overhead when using the python distribution shipped with the python:3 image, compared to the python distribution installable through ppa:deadsnakes/ppa: https://stackoverflow.com/a/76133102/2808520...

Open Graph Description: I've observed a roughly 11% performance overhead when using the python distribution shipped with the python:3 image, compared to the python distribution installable through ppa:deadsnakes/ppa: http...

X Description: I've observed a roughly 11% performance overhead when using the python distribution shipped with the python:3 image, compared to the python distribution installable through ppa:deadsnakes/ppa: ...

Opengraph URL: https://github.com/docker-library/python/issues/825

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Why is python shipped with the `python` docker image slower than that of my local machine?","articleBody":"I've observed a roughly 11% performance overhead when using the python distribution shipped with the `python:3` image, compared to the python distribution installable through `ppa:deadsnakes/ppa`: https://stackoverflow.com/a/76133102/2808520\r\n\r\n|     | local      | dockerbinary |\r\n|-----|------------|--------------|\r\n| avg | 0.79917586 | 0.89829016 |\r\n| std | 0.02433539 | 0.03554546 |\r\n| min | 0.78087375 | 0.86344007 |\r\n| q1  | 0.78211388 | 0.86950620 |\r\n| q2  | 0.79006154 | 0.88853465 |\r\n| q3  | 0.80732969 | 0.91612282 |\r\n| max | 0.89824817 | 0.99477790 |\r\n\r\n```\r\n$ file `which python3.10`\r\n/usr/bin/python3.10: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, BuildID[sha1]=fb3f4369481251e6ba441382fd6d9ab47af0db29, for GNU/Linux 3.2.0, stripped\r\n$ file docker-python/local/bin/python3.10\r\ndocker-python/local/bin/python3.10: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, BuildID[sha1]=618b23f947f202224f4ea8e16375ac7bcad13c4f, for GNU/Linux 3.2.0, with debug_info, not stripped\r\n```\r\nMy guess is that the `with debug_info` compilation introduces this ~11% performance overhead.\r\n\r\nI'd appreciate if someone could tell me if my guess is correct.","author":{"url":"https://github.com/SimonLammer","@type":"Person","name":"SimonLammer"},"datePublished":"2023-04-28T21:28:20Z","url":"https://github.com/docker-library/python/issues/825"}

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/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:b359b26f-3488-a2a9-cb35-8b2ad90ac2be
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idA98C:729DB:C0A37C:FCF931:6AFE8B80
html-safe-nonce3580bf5434d57dae96b400bb40b11dd2f341546fa0808418bf0710a489f4438c
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBOThDOjcyOURCOkMwQTM3QzpGQ0Y5MzE6NkFGRThCODAiLCJ2aXNpdG9yX2lkIjoiNzg3MjQ2NDU0MTgzNjAyMDYwOCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacb45eb938479079311e92abf5d8f06b3d7c29e15e6343ae3e541d973a03cb4853
hovercard-subject-tagissue:1689152995
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/docker-library/python/825/issue_layout
twitter:imagehttps://opengraph.githubassets.com/8e5197b0943c630204f829943ae6f2713186fc190c844049c1221692a402d890/docker-library/python/issues/825
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/8e5197b0943c630204f829943ae6f2713186fc190c844049c1221692a402d890/docker-library/python/issues/825
og:image:altI've observed a roughly 11% performance overhead when using the python distribution shipped with the python:3 image, compared to the python distribution installable through ppa:deadsnakes/ppa: http...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameSimonLammer
hostnamegithub.com
expected-hostnamegithub.com
Noneb3c0f155eafc27e60db6e254d1ffff0e072e9ab3b4018a5ee518797c19d89f86
turbo-cache-controlno-preview
go-importgithub.com/docker-library/python git https://github.com/docker-library/python.git
octolytics-dimension-user_id7739233
octolytics-dimension-user_logindocker-library
octolytics-dimension-repository_id21054928
octolytics-dimension-repository_nwodocker-library/python
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id21054928
octolytics-dimension-repository_network_root_nwodocker-library/python
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
release4a10310af51a1bfffbedc4fd81cb582acf0cb0ff
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/docker-library/python/issues/825#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fdocker-library%2Fpython%2Fissues%2F825
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%2Fdocker-library%2Fpython%2Fissues%2F825
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%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=docker-library%2Fpython
Reloadhttps://github.com/docker-library/python/issues/825
Reloadhttps://github.com/docker-library/python/issues/825
Reloadhttps://github.com/docker-library/python/issues/825
docker-libraryhttps://github.com/docker-library
pythonhttps://github.com/docker-library/python
Codehttps://github.com/docker-library/python
Issues23 (23)https://github.com/docker-library/python/issues
Pull requests5 (5)https://github.com/docker-library/python/pulls
Discussionshttps://github.com/docker-library/python/discussions
Actionshttps://github.com/docker-library/python/actions
Projectshttps://github.com/docker-library/python/projects
Security and qualityhttps://github.com/docker-library/python/security
Insightshttps://github.com/docker-library/python/insights
https://github.com/docker-library/python
New issuehttps://github.com/login?return_to=https://github.com/docker-library/python/issues/825
New issuehttps://github.com/login?return_to=https://github.com/docker-library/python/issues/825
Why is python shipped with the python docker image slower than that of my local machine?https://github.com/docker-library/python/issues/825#top
https://github.com/SimonLammer
SimonLammerhttps://github.com/SimonLammer
on Apr 28, 2023https://github.com/docker-library/python/issues/825#issue-1689152995
https://stackoverflow.com/a/76133102/2808520https://stackoverflow.com/a/76133102/2808520
https://github.com/tianon
tianonhttps://github.com/tianon
on Apr 28, 2023https://github.com/docker-library/python/issues/825#issuecomment-1528170266
#575https://github.com/docker-library/python/issues/575
https://github.com/sowinski
sowinskihttps://github.com/sowinski
on Nov 30, 2023https://github.com/docker-library/python/issues/825#issuecomment-1834630339
https://github.com/blopker
blopkerhttps://github.com/blopker
on Dec 21, 2023https://github.com/docker-library/python/issues/825#issuecomment-1866915102
https://stackoverflow.com/questions/8676466/how-do-debug-symbols-affect-performance-of-a-linux-executable-compiled-by-gcchttps://stackoverflow.com/questions/8676466/how-do-debug-symbols-affect-performance-of-a-linux-executable-compiled-by-gcc
https://stackoverflow.com/questions/60840320/docker-50-performance-hit-on-cpu-intensive-codehttps://stackoverflow.com/questions/60840320/docker-50-performance-hit-on-cpu-intensive-code
https://github.com/SimonLammer
SimonLammerhttps://github.com/SimonLammer
on Dec 22, 2023https://github.com/docker-library/python/issues/825#issuecomment-1867349076
https://stackoverflow.com/questions/60840320/docker-50-performance-hit-on-cpu-intensive-codehttps://stackoverflow.com/questions/60840320/docker-50-performance-hit-on-cpu-intensive-code
https://github.com/blopker
blopkerhttps://github.com/blopker
on Dec 22, 2023https://github.com/docker-library/python/issues/825#issuecomment-1867384004
https://github.com/blopker
blopkerhttps://github.com/blopker
on Dec 22, 2023https://github.com/docker-library/python/issues/825#issuecomment-1868011268
https://github.com/blopker
blopkerhttps://github.com/blopker
on Dec 26, 2023https://github.com/docker-library/python/issues/825#issuecomment-1869792567
https://github.com/wbolster
wbolsterhttps://github.com/wbolster
on Sep 3, 2024https://github.com/docker-library/python/issues/825#issuecomment-2326911655
https://discuss.python.org/t/why-python-in-debian-docker-image-is-faster-than-official-dockers-python-image/53976/11https://discuss.python.org/t/why-python-in-debian-docker-image-is-faster-than-official-dockers-python-image/53976/11
https://github.com/3052
3052https://github.com/3052
on Sep 3, 2024https://github.com/docker-library/python/issues/825#issuecomment-2326934739
@SimonLammerhttps://github.com/SimonLammer
https://github.com/blopker
blopkerhttps://github.com/blopker
on Sep 3, 2024https://github.com/docker-library/python/issues/825#issuecomment-2327598599
https://discuss.python.org/t/why-python-in-debian-docker-image-is-faster-than-official-dockers-python-image/53976/11https://discuss.python.org/t/why-python-in-debian-docker-image-is-faster-than-official-dockers-python-image/53976/11
Sign up for freehttps://github.com/signup?return_to=https://github.com/docker-library/python/issues/825
Sign in to commenthttps://github.com/login?return_to=https://github.com/docker-library/python/issues/825
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.