python / python/pyperformance

Do Not Try To Install Benchmark Dependencies If Already Done

オープン
#158 コメント 0 件 リアクション 1 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

主要言語
Python
スター
1k
フォーク
203
平均マージ
1時間 20分
マージ済み PR(30日)
2

説明

Currently we install each benchmark's requirements every time we run the benchmarks, which adds to the time it takes. If we know they are already installed then we can skip that.

Possible solutions:

  • only install requirements when a venv is created
    • for the common venv, we'd need to track (in a file) which benchmarks have been done already
  • only install requirements if not done already for the venv
    • track with a file (e.g. <venvroot>/.installed)
    • use a file to track what has already been installed in the venv
    • use pip freeze (or similar) to identify what has been installed already (requires the ability to verify requirements)

All that said, I'm not sure this alone is worth the effort. It might be worth it if combined with #157.

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

調査の方向性

まず、ベンチマークの要件がどこでインストールされ、共通およびベンチマークごとの仮想環境がどのように作成されるかを追跡します。インストール済み要件の追跡と環境の確認を比較し、issue #157 との相互作用も含めます。依存関係がすでに利用可能な場合に、依存関係の正しさを損なうことなく、ベンチマークの繰り返し実行で作業がスキップされれば完了です。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
python
領域
performance, tooling
issue の種類
機能追加
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
35/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。