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 Jimbofbx
Recipients Jimbofbx, docs@python, serhiy.storchaka, xuanji
Date 2012-05-01.20:26:59
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1335904023.66.0.586151516086.issue10376@psf.upfronthosting.co.za>
In-reply-to
Content
See attached, which will open a zipfile that contains one file and reads it a bunch of times using unbuffered and buffered idioms. This was tested on windows using python 3.2

You're in charge of coming up with a file to test it on. Sorry.

Example output:

Enter filename: test.zip
Timing unbuffered read, 5 bytes at a time. 10 loops
took 6.671999931335449
Timing buffered read, 5 bytes at a time (4000 byte buffer). 10 loops
took 0.7350001335144043
History
Date User Action Args
2012-05-01 20:27:03Jimbofbxsetrecipients: + Jimbofbx, docs@python, xuanji, serhiy.storchaka
2012-05-01 20:27:03Jimbofbxsetmessageid: <1335904023.66.0.586151516086.issue10376@psf.upfronthosting.co.za>
2012-05-01 20:26:59Jimbofbxlinkissue10376 messages
2012-05-01 20:26:59Jimbofbxcreate