Skip to content

Python3 threading.Event().wait time is twice as large as Python27 #85471

@SD

Description

@SD
mannequin
BPO 41299
Nosy @pfmoore, @pitrou, @vstinner, @tjguk, @ned-deily, @zware, @eryksun, @zooba, @pablogsal, @miss-islington, @sweeneyde, @lunixbochs
PRs
  • bpo-41299: fix 16ms jitter in Windows threading timeouts #26568
  • [3.9] bpo-41299: Reduce lag in Windows threading timeouts by using a higher precision time source (GH-26568) #26579
  • [3.10] bpo-41299: Reduce lag in Windows threading timeouts by using a higher precision time source (GH-26568) #26580
  • bpo-41299: Fix EnterNonRecursiveMutex() #28548
  • bpo-41299: QueryPerformanceFrequency() cannot fail #28552
  • bpo-41299: Mark private thread_nt.h functions as static #28553
  • 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 = <Date 2021-09-24.23:17:07.296>
    created_at = <Date 2020-07-14.22:15:57.850>
    labels = ['3.9', '3.10', 'performance', '3.11', 'library', 'OS-windows']
    title = 'Python3 threading.Event().wait time is twice as large as Python27'
    updated_at = <Date 2021-09-24.23:17:07.295>
    user = 'https://bugs.python.org/SD'

    bugs.python.org fields:

    activity = <Date 2021-09-24.23:17:07.295>
    actor = 'vstinner'
    assignee = 'none'
    closed = True
    closed_date = <Date 2021-09-24.23:17:07.296>
    closer = 'vstinner'
    components = ['Library (Lib)', 'Windows']
    creation = <Date 2020-07-14.22:15:57.850>
    creator = 'SD'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 41299
    keywords = ['patch']
    message_count = 29.0
    messages = ['373660', '373675', '373680', '373694', '373695', '373707', '373736', '373737', '374070', '387880', '395220', '395237', '395283', '395284', '395665', '395777', '395780', '395781', '395788', '395789', '395835', '395848', '396194', '402564', '402565', '402592', '402593', '402595', '402596']
    nosy_count = 13.0
    nosy_names = ['paul.moore', 'pitrou', 'vstinner', 'tim.golden', 'ned.deily', 'zach.ware', 'eryksun', 'steve.dower', 'pablogsal', 'miss-islington', 'Dennis Sweeney', 'SD', 'lunixbochs2']
    pr_nums = ['26568', '26579', '26580', '28548', '28552', '28553']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'performance'
    url = 'https://bugs.python.org/issue41299'
    versions = ['Python 3.9', 'Python 3.10', 'Python 3.11']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.10only security fixes3.11only security fixes3.9 (EOL)end of lifeOS-windowsperformancePerformance or resource usagestdlibStandard Library Python modules in the Lib/ directory

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions