python / python/cpython

perf_counter result does not count system sleep time in Mac OS

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

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

extension-modules OS-mac type-bug
主要言語
Python
スター
77.2k
フォーク
36k
PR マージ指標
PR 指標を取得中

説明

BPO 41303
Nosy @ronaldoussoren, @abalkin, @vstinner, @ned-deily, @njsmith, @jab, @eryksun, @pganssle, @xrisk
PRs
  • python/cpython#21719
  • 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 2020-07-15.12:43:19.496>
    labels = ['OS-mac', 'type-bug', '3.8', '3.9', '3.10']
    title = 'perf_counter result does not count system sleep time in Mac OS'
    updated_at = <Date 2020-08-07.16:29:12.431>
    user = 'https://bugs.python.org/nooB'
    

    bugs.python.org fields:

    activity = <Date 2020-08-07.16:29:12.431>
    actor = 'vstinner'
    assignee = 'none'
    closed = False
    closed_date = None
    closer = None
    components = ['macOS']
    creation = <Date 2020-07-15.12:43:19.496>
    creator = 'nooB'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 41303
    keywords = ['patch']
    message_count = 20.0
    messages = ['373690', '374523', '374765', '374840', '374852', '374853', '374854', '374888', '374890', '374892', '374897', '374923', '374925', '374935', '374936', '374937', '374938', '374940', '374972', '375011']
    nosy_count = 10.0
    nosy_names = ['ronaldoussoren', 'belopolsky', 'vstinner', 'ned.deily', 'njs', 'jab', 'nooB', 'eryksun', 'p-ganssle', 'xrisk']
    pr_nums = ['21719']
    priority = 'normal'
    resolution = None
    stage = 'patch review'
    status = 'open'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue41303'
    versions = ['Python 3.8', 'Python 3.9', 'Python 3.10']
    

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

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

    はじめの一歩

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

    調査の方向性

    まず pull request #21719 と、報告された perf_counter の動作に関する macOS コンポーネントのコンテキストを確認してください。この issue ではファイルもテストも指定されていません。完了の条件は、macOS で perf_counter がシステムのスリープ時間を含むように不一致を解消し、報告された動作に照らして結果を検証することです。

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

    評価

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

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

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