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 akira
Recipients abacabadabacaba, akira, alexei.romanov, benhoyt, giampaolo.rodola, josh.r, pitrou, socketpair, tebeka, tim.golden, vstinner
Date 2015-02-13.21:58:25
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
As I've mentioned in

  os.walk size 7925376343, scandir.walk size 5534939617 -- NOT EQUAL!

os.walk and scandir.walk do a different work here.

I don't see that it is acknowledged so I assume the benchmark is not fixed.

If the fixed (same work) benchmark is used then there is no performance difference on Linux. See the attached file 

Note: the performance improvements on Windows along should be enough to accept os.scandir() even if Linux version won't be improved (if the behavior is documented).
Date User Action Args
2015-02-13 21:58:25akirasetrecipients: + akira, tebeka, pitrou, vstinner, giampaolo.rodola, tim.golden, benhoyt, abacabadabacaba, socketpair, josh.r, alexei.romanov
2015-02-13 21:58:25akirasetmessageid: <>
2015-02-13 21:58:25akiralinkissue22524 messages
2015-02-13 21:58:25akiracreate