Message111870
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 ;-) |
|
Date |
User |
Action |
Args |
2010-07-28 23:10:33 | vstinner | set | recipients:
+ vstinner, collinwinter, amaury.forgeotdarc, pitrou, alexandre.vassalotti, hagen, BreamoreBoy |
2010-07-28 23:10:33 | vstinner | set | messageid: <1280358633.49.0.0132905391353.issue3873@psf.upfronthosting.co.za> |
2010-07-28 23:10:29 | vstinner | link | issue3873 messages |
2010-07-28 23:10:29 | vstinner | create | |
|