This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Olivier.Grisel
Recipients Olivier.Grisel, pitrou, serhiy.storchaka
Date 2017-11-12.16:45:48
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1510505149.06.0.213398074469.issue31993@psf.upfronthosting.co.za>
In-reply-to
Content
Flushing the buffer at each frame commit will cause a medium-sized write every 64kB on average (instead of one big write at the end). So that might actually cause a performance regression for some users if the individual file-object writes induce significant overhead.

In practice though, latency inducing file objects like filesystem-backed ones are likely to derive from the [BufferedWriter](https://docs.python.org/3/library/io.html#io.BufferedWriter) base class and the only latency we should really care about it the one induced by the write call overhead itself in which case the 64kB frame / buffer size should be enough.
History
Date User Action Args
2017-11-12 16:45:49Olivier.Griselsetrecipients: + Olivier.Grisel, pitrou, serhiy.storchaka
2017-11-12 16:45:49Olivier.Griselsetmessageid: <1510505149.06.0.213398074469.issue31993@psf.upfronthosting.co.za>
2017-11-12 16:45:49Olivier.Grisellinkissue31993 messages
2017-11-12 16:45:48Olivier.Griselcreate