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 Laurens
Recipients Laurens, amaury.forgeotdarc, dsm001, eric.smith, pitrou
Date 2011-02-04.16:54:35
SpamBayes Score 6.374381e-09
Marked as misclassified No
Message-id <1296838476.36.0.527954777529.issue11114@psf.upfronthosting.co.za>
In-reply-to
Content
First of all, thanks to all for your cooperation, it is very much appreciated.

I made some minor changes to the benchmark program. Conclusions are:

 * setting file._CHUNK_SIZE to 20 has a dramatic effect, changing execution time in 3.2rc2 from 8.4s to 0.06s, so more than a factor 100 improvement. It's a bit clumsy, but acceptable as a performance work around.

 * opening file binary has a dramatic effect as well, I would say. After 2 minutes I stopped execution of the program, concluding that this change made the program at least a factor 10 *slower* instead of faster. So I cannot confirm DSM's statement that the performance hit would be a factor 2. Instead, I see a performance hit of at least a factor 100000 (10e5) compared tot 2.7.1, which is presumably not by construction ;-).
History
Date User Action Args
2011-02-04 16:54:36Laurenssetrecipients: + Laurens, amaury.forgeotdarc, pitrou, dsm001, eric.smith
2011-02-04 16:54:36Laurenssetmessageid: <1296838476.36.0.527954777529.issue11114@psf.upfronthosting.co.za>
2011-02-04 16:54:35Laurenslinkissue11114 messages
2011-02-04 16:54:35Laurenscreate