A more pythonic Richards benchmark?
まだ誰も着手していません。
評価
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 初心者へのやさしさ
- 20/100
- issue の種類
- 機能追加
- 明瞭さ
- 説明が足りない
- 活発さ
- 停滞
- 技術スタック
- python
- 領域
- performance
調査の方向性
まず pyperformance/benchmarks/bm_richards.py を読み、adsharma/richards-benchmark にある Python 3 版と比較します。提案されている dataclasses、enums、型アノテーション、および py2many ベースのトランスパイルアプローチを確認します。この issue には受け入れ基準が定義されていないため、完了には、このバリアントを pyperformance で更新するかどうか、また更新する場合はどのように更新するかについて、メンテナーの合意が必要です。
索引モデルが issue の本文から書いたものです。
説明
The richard's benchmark included with pyperformance seems to be a C -> C++ -> Java -> Python port. It makes heavy use of object oriented programming and doesn't look anything like the original C code.
I've been playing with the python2 version distributed from their website. I ported it to python3. It looks more like the C version, which has some good things and a few bad things:
+ Covers non-OO programming use case
- Overloads variables as in Union[int, Type1, Type2]
I'm in the process of improving it to Optional[Type1] and Optional[Type2]
My goal is to explore a dialect of statically typed python using modern pythonic constructs:
- dataclasses
- enums
- python3 type annotations
- static transpilation via py2many
The code is here: https://github.com/adsharma/richards-benchmark. Let me know if this sounds interesting and if you'd like to update the variant in the repo at some point in the future. I hear some of the faster cpython work is using these benchmarks.
- 主要言語
- Python
- スター
- 1k
- フォーク
- 203
- 平均マージ
- 1時間 20分
- マージ済み PR(30日)
- 2
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
python/pyperformance のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
python/pyperformance#346 · コメント 3 件 ·
-
python/pyperformance#474 · リアクション 4 件 · 担当者 1 名 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 25/100
python/pyperformance#473 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 55/100
python/pyperformance#464 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 48/100
python/pyperformance#460 · コメント 2 件 · リアクション 1 件 ·
python/pyperformance の issue をすべて見る
似ている issue
-
from:qa priority:P2 reliability tech-debt
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
spec-kitty/spec-kitty#4874 ·
-
fix: inaccuracy ⚠️
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
uabrc/uabrc.github.io#1255 · コメント 1 件 ·
-
kind:bug needs-triage
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
-
docs
難易度 1/5 1時間未満 初心者へのやさしさ 85/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
ethereum-optimism/factory#64 ·