homepage

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 <1423864705.57.0.0257800406341.issue22524@psf.upfronthosting.co.za>
In-reply-to
Content
As I've mentioned in http://bugs.python.org/issue22524#msg231703
 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 http://bugs.python.org/file37292/get_tree_size_listdir.diff 
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).
History
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: <1423864705.57.0.0257800406341.issue22524@psf.upfronthosting.co.za>
2015年02月13日 21:58:25akiralinkissue22524 messages
2015年02月13日 21:58:25akiracreate

AltStyle によって変換されたページ (->オリジナル) /