Skip to content

Tarfile superfluous truncate calls slows extraction. #71381

@fried

Description

@fried
mannequin
BPO 27194
Nosy @gustaebel, @asvetlov, @ambv, @fried
Files
  • truncate.patch: patch to move truncate for only sparse tar entries.
  • test.py: test file to generate random tar for benchmark
  • 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/ambv'
    closed_at = <Date 2016-06-12.00:02:19.913>
    created_at = <Date 2016-06-03.04:56:33.633>
    labels = ['library', 'performance']
    title = 'Tarfile superfluous truncate calls slows extraction.'
    updated_at = <Date 2016-06-12.00:02:19.911>
    user = 'https://github.com/fried'

    bugs.python.org fields:

    activity = <Date 2016-06-12.00:02:19.911>
    actor = 'lukasz.langa'
    assignee = 'lukasz.langa'
    closed = True
    closed_date = <Date 2016-06-12.00:02:19.913>
    closer = 'lukasz.langa'
    components = ['Library (Lib)']
    creation = <Date 2016-06-03.04:56:33.633>
    creator = 'fried'
    dependencies = []
    files = ['43138', '43139']
    hgrepos = []
    issue_num = 27194
    keywords = ['patch']
    message_count = 4.0
    messages = ['267035', '267037', '268297', '268298']
    nosy_count = 5.0
    nosy_names = ['lars.gustaebel', 'asvetlov', 'lukasz.langa', 'python-dev', 'fried']
    pr_nums = []
    priority = 'normal'
    resolution = 'fixed'
    stage = 'patch review'
    status = 'closed'
    superseder = None
    type = 'performance'
    url = 'https://bugs.python.org/issue27194'
    versions = ['Python 3.5']

    Metadata

    Metadata

    Assignees

    Labels

    performancePerformance or resource usagestdlibStandard Library Python modules in the Lib/ directory
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions