Author akira
Recipients abacabadabacaba, akira, benhoyt, giampaolo.rodola, josh.r, pitrou, socketpair, tebeka, tim.golden, vstinner
Date 2014-11-25.18:31:52
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1416940312.61.0.358583690279.issue22524@psf.upfronthosting.co.za>
In-reply-to
Content
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)?
History
Date User Action Args
2014-11-25 18:31:52akirasetrecipients: + akira, tebeka, pitrou, vstinner, giampaolo.rodola, tim.golden, benhoyt, abacabadabacaba, socketpair, josh.r
2014-11-25 18:31:52akirasetmessageid: <1416940312.61.0.358583690279.issue22524@psf.upfronthosting.co.za>
2014-11-25 18:31:52akiralinkissue22524 messages
2014-11-25 18:31:52akiracreate