Optimise the way tracemalloc and PyRefTracer hooks work
オープン
まだ誰も着手していません。
interpreter-core
performance
type-feature
- 主要言語
- Python
- スター
- 77.2k
- フォーク
- 35.9k
- PR マージ指標
- PR 指標を取得中
説明
In https://github.com/python/cpython/issues/125703 @markshannon has raised that he is unhappy about the performance implications of where these hooks are placed and in a call we discussed that he has some ideas on how to make them more performant by moving them elsewhere or adapting then.
I am opening this issue to track and sync about these improvements for 3.14 and beyond.
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
ファイルやテストは指定されていません。まず issue 125703 と、tracemalloc および PyRefTracer hook の配置に関するリンク先の議論を読み、その後、関連する CPython ランタイムコードとパフォーマンス測定を調査してください。ここでは完了の定義が示されていません。実装を開始する前に、issue について合意されたアプローチと、3.14 に向けた測定可能なパフォーマンス目標が必要です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- python
- 領域
- performance
- issue の種類
- リファクタリング
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 活発さ
- 停滞
- 明瞭さ
- 説明が足りない
- 初心者へのやさしさ
- 25/100