Message228821
Ok, I've found it. The numbers don't look that good here (Linux, SSD):
$ ~/cpython/opt/python benchmark.py -c python /usr/share/
[...]
os.walk took 1.266s, scandir.walk took 1.852s -- 0.7x as fast
$ ~/cpython/opt/python benchmark.py -c c /usr/share/
[...]
os.walk took 1.276s, scandir.walk took 1.266s -- 1.0x as fast
$ ~/cpython/opt/python benchmark.py -c os /usr/share/
[...]
os.walk took 1.278s, scandir.walk took 0.585s -- 2.2x as fast |
|
Date |
User |
Action |
Args |
2014-10-08 23:03:51 | pitrou | set | recipients:
+ pitrou, vstinner, giampaolo.rodola, tim.golden, benhoyt, abacabadabacaba, akira, socketpair |
2014-10-08 23:03:51 | pitrou | set | messageid: <1412809431.86.0.597332597762.issue22524@psf.upfronthosting.co.za> |
2014-10-08 23:03:51 | pitrou | link | issue22524 messages |
2014-10-08 23:03:51 | pitrou | create | |
|