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
Domain: github.com
{"@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-profiling | 0 |
| react-import-map | react,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-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:b359b26f-3488-a2a9-cb35-8b2ad90ac2be |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A98C:729DB:C0A37C:FCF931:6AFE8B80 |
| html-safe-nonce | 3580bf5434d57dae96b400bb40b11dd2f341546fa0808418bf0710a489f4438c |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBOThDOjcyOURCOkMwQTM3QzpGQ0Y5MzE6NkFGRThCODAiLCJ2aXNpdG9yX2lkIjoiNzg3MjQ2NDU0MTgzNjAyMDYwOCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | b45eb938479079311e92abf5d8f06b3d7c29e15e6343ae3e541d973a03cb4853 |
| hovercard-subject-tag | issue:1689152995 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/docker-library/python/825/issue_layout |
| twitter:image | https://opengraph.githubassets.com/8e5197b0943c630204f829943ae6f2713186fc190c844049c1221692a402d890/docker-library/python/issues/825 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/8e5197b0943c630204f829943ae6f2713186fc190c844049c1221692a402d890/docker-library/python/issues/825 |
| og:image:alt | 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... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | SimonLammer |
| hostname | github.com |
| expected-hostname | github.com |
| None | b3c0f155eafc27e60db6e254d1ffff0e072e9ab3b4018a5ee518797c19d89f86 |
| turbo-cache-control | no-preview |
| go-import | github.com/docker-library/python git https://github.com/docker-library/python.git |
| octolytics-dimension-user_id | 7739233 |
| octolytics-dimension-user_login | docker-library |
| octolytics-dimension-repository_id | 21054928 |
| octolytics-dimension-repository_nwo | docker-library/python |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 21054928 |
| octolytics-dimension-repository_network_root_nwo | docker-library/python |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 4a10310af51a1bfffbedc4fd81cb582acf0cb0ff |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width