[issue43283] IDLE: Explain print slowness and speedup method
New submission from Terry J. Reedy <tjreedy@udel.edu>: https://stackoverflow.com/questions/66286367/why-is-my-function-faster-than-... had some tests of printing speed that showed that print in IDLE can be much slower than in REPL. I did further tests that showed than combining chunks and lines into a single string can erase most of the difference. For easier review, the first patch just rearranges current paragraphs to bring together those dealing with 2 processes and sys.stdxxx. Some are also re-wrapped. The second patch will contain just the new paragraph. ---------- assignee: docs@python -> terry.reedy _______________________________________ Python tracker <report@bugs.python.org> <https://bugs.python.org/issue43283> _______________________________________
Change by Terry J. Reedy <tjreedy@udel.edu>: ---------- keywords: +patch pull_requests: +23382 pull_request: https://github.com/python/cpython/pull/24604 _______________________________________ Python tracker <report@bugs.python.org> <https://bugs.python.org/issue43283> _______________________________________
Terry J. Reedy <tjreedy@udel.edu> added the comment: New changeset 4cf7bb8e22bf37e6d65bf4cb5618d09c4a8ad612 by Terry Jan Reedy in branch 'master': bpo-43283: Rearrange some IDLE doc paragraphs. (GH-24604) https://github.com/python/cpython/commit/4cf7bb8e22bf37e6d65bf4cb5618d09c4a8... ---------- _______________________________________ Python tracker <report@bugs.python.org> <https://bugs.python.org/issue43283> _______________________________________
Change by miss-islington <mariatta.wijaya+miss-islington@gmail.com>: ---------- nosy: +miss-islington nosy_count: 2.0 -> 3.0 pull_requests: +23386 pull_request: https://github.com/python/cpython/pull/24607 _______________________________________ Python tracker <report@bugs.python.org> <https://bugs.python.org/issue43283> _______________________________________
Change by miss-islington <mariatta.wijaya+miss-islington@gmail.com>: ---------- pull_requests: +23387 pull_request: https://github.com/python/cpython/pull/24608 _______________________________________ Python tracker <report@bugs.python.org> <https://bugs.python.org/issue43283> _______________________________________
miss-islington <mariatta.wijaya+miss-islington@gmail.com> added the comment: New changeset 6ddb25586524022923d076ddb3b5867214c6ce42 by Miss Islington (bot) in branch '3.8': bpo-43283: Rearrange some IDLE doc paragraphs. (GH-24604) https://github.com/python/cpython/commit/6ddb25586524022923d076ddb3b5867214c... ---------- _______________________________________ Python tracker <report@bugs.python.org> <https://bugs.python.org/issue43283> _______________________________________
miss-islington <mariatta.wijaya+miss-islington@gmail.com> added the comment: New changeset 693aeacf8851d1e9995073e27e50644a505dc49c by Miss Islington (bot) in branch '3.9': bpo-43283: Rearrange some IDLE doc paragraphs. (GH-24604) https://github.com/python/cpython/commit/693aeacf8851d1e9995073e27e50644a505... ---------- _______________________________________ Python tracker <report@bugs.python.org> <https://bugs.python.org/issue43283> _______________________________________
Change by Terry J. Reedy <tjreedy@udel.edu>: ---------- pull_requests: +23396 pull_request: https://github.com/python/cpython/pull/24615 _______________________________________ Python tracker <report@bugs.python.org> <https://bugs.python.org/issue43283> _______________________________________
Terry J. Reedy <tjreedy@udel.edu> added the comment: New changeset 2827e8a177c2a6584fada594bca6829c53a2872f by Terry Jan Reedy in branch 'master': bpo-43283: Add IDLE doc paragraph about print speed (GH-24615) https://github.com/python/cpython/commit/2827e8a177c2a6584fada594bca6829c53a... ---------- _______________________________________ Python tracker <report@bugs.python.org> <https://bugs.python.org/issue43283> _______________________________________
Change by miss-islington <mariatta.wijaya+miss-islington@gmail.com>: ---------- pull_requests: +23415 pull_request: https://github.com/python/cpython/pull/24631 _______________________________________ Python tracker <report@bugs.python.org> <https://bugs.python.org/issue43283> _______________________________________
Change by miss-islington <mariatta.wijaya+miss-islington@gmail.com>: ---------- pull_requests: +23416 pull_request: https://github.com/python/cpython/pull/24632 _______________________________________ Python tracker <report@bugs.python.org> <https://bugs.python.org/issue43283> _______________________________________
miss-islington <mariatta.wijaya+miss-islington@gmail.com> added the comment: New changeset e202f1e4dbe02fbcae9f6afed863b7221b39c984 by Miss Islington (bot) in branch '3.9': bpo-43283: Add IDLE doc paragraph about print speed (GH-24615) https://github.com/python/cpython/commit/e202f1e4dbe02fbcae9f6afed863b7221b3... ---------- _______________________________________ Python tracker <report@bugs.python.org> <https://bugs.python.org/issue43283> _______________________________________
Terry J. Reedy <tjreedy@udel.edu> added the comment: New changeset bdf0fece5bbc2fc9fffbf0f314c7022e24e747df by Miss Islington (bot) in branch '3.8': bpo-43283: Add IDLE doc paragraph about print speed (GH-24615) (GH-24632) https://github.com/python/cpython/commit/bdf0fece5bbc2fc9fffbf0f314c7022e24e... ---------- _______________________________________ Python tracker <report@bugs.python.org> <https://bugs.python.org/issue43283> _______________________________________
Change by Terry J. Reedy <tjreedy@udel.edu>: ---------- resolution: -> fixed stage: patch review -> resolved status: open -> closed _______________________________________ Python tracker <report@bugs.python.org> <https://bugs.python.org/issue43283> _______________________________________
participants (2)
-
miss-islington
-
Terry J. Reedy