Faster Python, beyond semantic interposition
まだ誰も着手していません。
評価
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 初心者へのやさしさ
- 25/100
- issue の種類
- 機能追加
- 明瞭さ
- 説明が足りない
- 活発さ
- 停滞
- 技術スタック
- docker, python
- 領域
- devops, performance
調査の方向性
まず、issue に記載されている Fedora、Ubuntu、Debian slim、Conda-Forge の各イメージで、Docker と Podman を使って報告された pystone の結果を再現します。これらの実行間で異なる Python ランタイムとイメージの条件を比較します。具体的かつ再現可能な性能差の原因を特定し、実行可能な改善策を文書化できれば完了です。
索引モデルが issue の本文から書いたものです。
説明
#501 has a useful suggestion for speeding up Python by ~20%. After that's done, it's actually possible to do better.
Host is Fedora 33. All tests were run with Python 3.9.
On host:
- Fedora's Python gives 200K pystone/sec.
- Conda-Forge Python gives 240K pystone/sec.
Running inside Docker 20.04 (cgroups v2 enabled):
- fedora:33 gives 173K pystone/sec.
- python:3.9-slim-buster, I get 169K pystone/sec.
- ubuntu:20.04 (no shared library): 183K pystone/sec.
- continuumio/miniconda3 with Python from Conda-Forge: 189K/sec
I am mystified why things are so much slower inside Docker. Some of this is clearly not because of the image, but the runtime. But notice the Ubuntu image is definitely faster.
With podman:
- python:3.9-slim-buster: 204K/sec
- continuumio/miniconda3 with Python from Conda-Forge: 230K/sec
Note that the Anaconda (default Conda) Python 3.9 does not appear faster, it's specifically whatever Conda-Forge does. I am trying to figure that out.
- 主要言語
- Dockerfile
- スター
- 2.8k
- フォーク
- 1.1k
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
docker-library/python のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
docker-library/python#1151 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 38/100
docker-library/python#1150 · コメント 1 件 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 54/100
docker-library/python#1147 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 45/100
docker-library/python#1082 · コメント 10 件 · リアクション 40 件 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 55/100
docker-library/python#1076 · コメント 5 件 · リアクション 1 件 ·
docker-library/python の issue をすべて見る
似ている issue
-
[BUG] SMTP listener now binds to EMAIL_PORT instead of 2525 since the gunicorn switch 5.0.3-ls373オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
linuxserver/docker-healthchecks#137 · コメント 1 件 ·
-
難易度 1/5 1時間未満 初心者へのやさしさ 65/100
BenjaminPoilve/minichord#203 ·
-
area:infra help wanted type:ci
難易度 2/5 1〜3時間 初心者へのやさしさ 83/100
JoeyHammoth/semiconductor-bandgap-belvedere#62 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
NuSkooler/enigma-bbs#1215 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
メンテナーはふだん 2 日以内に返信