Message115643
The patch has been outdated by other independent performance work on the zipfile module. In Python 3.2, the zipfile module is actually slightly faster than the "unzip" program:
- first with the supplied "zeroes.zip" file:
$ rm -f zeroes && time -p unzip -e zeroes.zip
Archive: zeroes.zip
inflating: zeroes
real 0.56
user 0.50
sys 0.06
$ time -p ./python -m zipfile -e zeroes.zip .
real 0.45
user 0.34
sys 0.10
- Then with a 100MB random file:
$ rm -f random && time -p unzip -e random.zip
Archive: random.zip
inflating: random
real 0.69
user 0.61
sys 0.07
$ rm -f random && time -p ./python -m zipfile -e random.zip .
real 0.33
user 0.18
sys 0.14 |
|
Date |
User |
Action |
Args |
2010-09-05 12:49:02 | pitrou | set | recipients:
+ pitrou, lightstruk |
2010-09-05 12:49:02 | pitrou | set | messageid: <1283690942.56.0.905412739576.issue3978@psf.upfronthosting.co.za> |
2010-09-05 12:48:59 | pitrou | link | issue3978 messages |
2010-09-05 12:48:58 | pitrou | create | |
|