Author vstinner
Recipients BreamoreBoy, alexandre.vassalotti, amaury.forgeotdarc, collinwinter, hagen, pitrou, vstinner
Date 2010-07-28.23:10:29
SpamBayes Score 0.0126073
Marked as misclassified No
Message-id <1280358633.49.0.0132905391353.issue3873@psf.upfronthosting.co.za>
In-reply-to
Content
Same benchmark with Python 2.6.5+, so without the patch, but compiled with maximum compiler optimization (whereas pydebug means no optimization):

Protocol 0
- dump: 517.3 ms
- load: 876.6 ms <= because of the new I/O library, python3 is much slower

Protocol 1
- dump: 141.8 ms
- load: 255.2 ms <= with my patch, python3 is 1.5x faster

Protocol 2
- dump: 142.7 ms
- load: 262.1 ms <= with my patch, python3 is 1.5x faster

It would be better to redo all tests with the same compiler options, but the most important point is that Python3 is *faster* than Python2 with my patch ;-)
History
Date User Action Args
2010-07-28 23:10:33vstinnersetrecipients: + vstinner, collinwinter, amaury.forgeotdarc, pitrou, alexandre.vassalotti, hagen, BreamoreBoy
2010-07-28 23:10:33vstinnersetmessageid: <1280358633.49.0.0132905391353.issue3873@psf.upfronthosting.co.za>
2010-07-28 23:10:29vstinnerlinkissue3873 messages
2010-07-28 23:10:29vstinnercreate