This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author serhiy.storchaka
Recipients benhoyt, gvanrossum, serhiy.storchaka, vstinner, xdegaye
Date 2016-01-11.12:18:19
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1452514700.18.0.245298478722.issue25596@psf.upfronthosting.co.za>
In-reply-to
Content
Results of microbenchmarks for glob_scandir_4.patch:

$ ./python -m timeit -s "from glob import glob" -- "glob('**/*', recursive=True)"
Unpatched: 275 msec per loop
Patched:   79.4 msec per loop

$ ./python -m timeit -s "from glob import glob" -- "glob('/usr/lib*/**/*', recursive=True)"
Unpatched: 2.11 sec per loop
Patched:   624 msec per loop

$ ./python -m timeit -s "from glob import glob" -- "glob('/usr/lib*/**/', recursive=True)"
Unpatched: 1.79 sec per loop
Patched:   281 msec per loop
History
Date User Action Args
2016-01-11 12:18:20serhiy.storchakasetrecipients: + serhiy.storchaka, gvanrossum, vstinner, benhoyt, xdegaye
2016-01-11 12:18:20serhiy.storchakasetmessageid: <1452514700.18.0.245298478722.issue25596@psf.upfronthosting.co.za>
2016-01-11 12:18:20serhiy.storchakalinkissue25596 messages
2016-01-11 12:18:19serhiy.storchakacreate