Author vstinner
Recipients alexandre.vassalotti, amaury.forgeotdarc, hagen, pitrou, vstinner
Date 2009-04-06.11:56:48
SpamBayes Score 2.30017e-07
Marked as misclassified No
Message-id <1239019010.83.0.550262008315.issue3873@psf.upfronthosting.co.za>
In-reply-to
Content
My version of pickletest.py:
 - make sure that file position is correct after the load()
 - some benchmark. most interesting numbers:

without the patch :

version | data       | dump ms | load ms |
 py3k   | 0,    10^6 |     230 |    1500 |
 py3k   | 1000, 10^6 |     255 |    1780 |
 py3k   | 0,    10^7 |    2360 |   16044 |
 py3k   | 1000, 10^7 |    2615 |   19380 |

with the patch:

version | data       | dump ms | load ms | speed up:
 py3k   | 0,    10^6 |     237 |     183 | x8
 py3k   | 1000, 10^6 |     241 |     248 | x7
 py3k   | 0,    10^7 |    2420 |    1860 | x8
 py3k   | 1000, 10^7 |    2850 |    3100 | x6

(data: 0, 10^6 means: [0]*10^6)
History
Date User Action Args
2009-04-06 11:56:51vstinnersetrecipients: + vstinner, amaury.forgeotdarc, pitrou, alexandre.vassalotti, hagen
2009-04-06 11:56:50vstinnersetmessageid: <1239019010.83.0.550262008315.issue3873@psf.upfronthosting.co.za>
2009-04-06 11:56:49vstinnerlinkissue3873 messages
2009-04-06 11:56:49vstinnercreate