[issue43317] python -m gzip could use a larger buffer

2021-02-26 Thread Inada Naoki
Change by Inada Naoki : -- nosy: -methane resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: -Python 3.6, Python 3.7, Python 3.8, Python 3.9 ___ Python tracker

[issue43317] python -m gzip could use a larger buffer

2021-02-26 Thread Inada Naoki
Inada Naoki added the comment: New changeset 7956ef884965ac6f9f7f2a27b835ea80e471c886 by Ruben Vorderman in branch 'master': bpo-43317: Use io.DEFAULT_BUFFER_SIZE instead of 1024 in gzip CLI (#24645) https://github.com/python/cpython/commit/7956ef884965ac6f9f7f2a27b835ea80e471c886

[issue43317] python -m gzip could use a larger buffer

2021-02-25 Thread Ruben Vorderman
Change by Ruben Vorderman : -- keywords: +patch pull_requests: +23430 stage: -> patch review pull_request: https://github.com/python/cpython/pull/24645 ___ Python tracker ___

[issue43317] python -m gzip could use a larger buffer

2021-02-24 Thread Ruben Vorderman
Change by Ruben Vorderman : -- type: -> performance ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue43317] python -m gzip could use a larger buffer

2021-02-24 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +xtreak ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue43317] python -m gzip could use a larger buffer

2021-02-24 Thread Ruben Vorderman
New submission from Ruben Vorderman : python -m gzip reads in chunks of 1024 bytes: https://github.com/python/cpython/blob/1f433406bd46fbd00b88223ad64daea6bc9eaadc/Lib/gzip.py#L599 This hurts performance somewhat. Using io.DEFAULT_BUFFER_SIZE will improve it. Also 'io.DEFAULT_BUFFER_SIZE' is