Author pitrou
Recipients abacabadabacaba, akira, benhoyt, giampaolo.rodola, pitrou, socketpair, tim.golden, vstinner
Date 2014-10-08.23:03:51
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1412809431.86.0.597332597762.issue22524@psf.upfronthosting.co.za>
In-reply-to
Content
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
History
Date User Action Args
2014-10-08 23:03:51pitrousetrecipients: + pitrou, vstinner, giampaolo.rodola, tim.golden, benhoyt, abacabadabacaba, akira, socketpair
2014-10-08 23:03:51pitrousetmessageid: <1412809431.86.0.597332597762.issue22524@psf.upfronthosting.co.za>
2014-10-08 23:03:51pitroulinkissue22524 messages
2014-10-08 23:03:51pitroucreate