enabling cProfile to profile code given as an argument "à la" timeit

オープン
#90,665 コメント 2 件 リアクション 0 件 担当者 0 名 GitHub で見る

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

評価

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

調査の方向性

まず、リンクされている pull request #30859 と、issue で言及されている cProfile および timeit のエントリーポイントを確認します。引数として渡されたコードをどのように扱うべきかを確認し、既存のプロファイリング動作を参考にします。完了条件は、cProfile が timeit と同様の方法で、引数として渡されたコードをプロファイルできることです。

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

説明

3.10 3.11 3.7 (EOL) 3.8 (EOL) 3.9 (EOL) stdlib type-feature
BPO 46507
Nosy @vstinner, @matrixise, @DanielNoord, @jul
PRs
  • python/cpython#30859
  • Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

    Show more details

    GitHub fields:

    assignee = None
    closed_at = None
    created_at = <Date 2022-01-24.21:25:45.575>
    labels = ['3.7', '3.8', '3.9', '3.10', '3.11', 'type-feature', 'library']
    title = 'enabling cProfile to profile code given as an argument "\xc3\xa0 la" timeit'
    updated_at = <Date 2022-03-16.08:31:29.963>
    user = 'https://github.com/jul'
    

    bugs.python.org fields:

    activity = <Date 2022-03-16.08:31:29.963>
    actor = 'danielnoord'
    assignee = 'none'
    closed = False
    closed_date = None
    closer = None
    components = ['Library (Lib)']
    creation = <Date 2022-01-24.21:25:45.575>
    creator = 'jul2'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 46507
    keywords = []
    message_count = 2.0
    messages = ['411517', '415328']
    nosy_count = 4.0
    nosy_names = ['vstinner', 'matrixise', 'danielnoord', 'jul2']
    pr_nums = ['30859']
    priority = 'normal'
    resolution = None
    stage = None
    status = 'open'
    superseder = None
    type = 'enhancement'
    url = 'https://bugs.python.org/issue46507'
    versions = ['Python 3.7', 'Python 3.8', 'Python 3.9', 'Python 3.10', 'Python 3.11']
    

    主要言語
    Python
    スター
    77.2k
    フォーク
    36k
    平均マージ
    1日 9時間
    マージ済み PR(30日)
    558

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

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

    はじめの一歩

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

    python/cpython のほかの issue

    python/cpython の issue をすべて見る

    似ている issue

    Python の issue をもっと見る

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

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