Skip to content

Add -X option to show import time #75596

@methane

Description

@methane
BPO 31415
Nosy @gvanrossum, @warsaw, @brettcannon, @rhettinger, @terryjreedy, @pitrou, @vstinner, @tiran, @methane, @nschloe, @ambv, @serhiy-storchaka, @miss-islington
PRs
  • bpo-31415: Add -X importtime option. #3490
  • [WIP] bpo-31415: Add -X importtime option #3765
  • bpo-31415: Add _PyTime_GetPerfCounter() and use it for -X importtime #3936
  • bpo-31415: Rewrite _PyTime_GetWinPerfCounter() for _PyTime_t #3942
  • bpo-31415: Cleanup pytime.c #3955
  • bpo-31415: Improve caching of the importtime option. #4138
  • bpo-31415: Support PYTHONPROFILEIMPORTTIME envvar equivalent to -X importtime #4240
  • bpo-31415: importtime was made by Inada Naoki #31875
  • [3.9] bpo-31415: importtime was made by Inada Naoki (GH-31875) #31883
  • [3.10] bpo-31415: importtime was made by Inada Naoki (GH-31875) #31884
  • Files
  • sc.png
  • 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 = 'https://github.com/gvanrossum'
    closed_at = <Date 2017-11-14.15:40:09.408>
    created_at = <Date 2017-09-11.05:27:15.049>
    labels = ['interpreter-core', 'type-feature', '3.7']
    title = 'Add -X option to show import time'
    updated_at = <Date 2022-03-14.21:30:22.373>
    user = 'https://github.com/methane'

    bugs.python.org fields:

    activity = <Date 2022-03-14.21:30:22.373>
    actor = 'miss-islington'
    assignee = 'gvanrossum'
    closed = True
    closed_date = <Date 2017-11-14.15:40:09.408>
    closer = 'barry'
    components = ['Interpreter Core']
    creation = <Date 2017-09-11.05:27:15.049>
    creator = 'methane'
    dependencies = []
    files = ['47663']
    hgrepos = []
    issue_num = 31415
    keywords = ['patch']
    message_count = 54.0
    messages = ['301858', '302556', '302557', '302559', '302659', '302839', '302842', '302875', '302882', '302889', '302895', '302906', '302943', '302992', '303038', '303039', '303568', '303593', '303600', '303628', '303664', '303665', '304023', '304151', '304153', '304264', '305071', '305093', '305108', '305109', '305449', '305458', '305462', '305490', '305493', '305505', '305515', '305516', '305517', '305522', '305523', '305533', '305558', '305559', '305562', '305565', '305603', '305712', '306219', '306326', '320841', '415170', '415194', '415196']
    nosy_count = 13.0
    nosy_names = ['gvanrossum', 'barry', 'brett.cannon', 'rhettinger', 'terry.reedy', 'pitrou', 'vstinner', 'christian.heimes', 'methane', 'nschloe', 'lukasz.langa', 'serhiy.storchaka', 'miss-islington']
    pr_nums = ['3490', '3765', '3936', '3942', '3955', '4138', '4240', '31875', '31883', '31884']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'enhancement'
    url = 'https://bugs.python.org/issue31415'
    versions = ['Python 3.7']

    Metadata

    Metadata

    Assignees

    Labels

    3.7 (EOL)end of lifeinterpreter-core(Objects, Python, Grammar, and Parser dirs)type-featureA feature request or enhancement

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions