Message231677
scandir is slower on my machine:
$ git clone https://github.com/benhoyt/scandir
$ cd scandir/
$ ../cpython/python benchmark.py /usr/
Using slower ctypes version of scandir
Comparing against builtin version of os.walk()
Priming the system's cache...
Benchmarking walks on /usr/, repeat 1/3...
Benchmarking walks on /usr/, repeat 2/3...
Benchmarking walks on /usr/, repeat 3/3...
os.walk took 7.761s, scandir.walk took 10.420s -- 0.7x as fast
What commands should I run to benchmark the attached patch (scandir-2.patch)? |
|
Date |
User |
Action |
Args |
2014-11-25 18:31:52 | akira | set | recipients:
+ akira, tebeka, pitrou, vstinner, giampaolo.rodola, tim.golden, benhoyt, abacabadabacaba, socketpair, josh.r |
2014-11-25 18:31:52 | akira | set | messageid: <1416940312.61.0.358583690279.issue22524@psf.upfronthosting.co.za> |
2014-11-25 18:31:52 | akira | link | issue22524 messages |
2014-11-25 18:31:52 | akira | create | |
|