ls: Do not eagerly return FileType for each PathData, wait until necessary#8663
ls: Do not eagerly return FileType for each PathData, wait until necessary#8663kimono-koans wants to merge 73 commits intouutils:mainfrom
Conversation
|
GNU testsuite comparison: |
|
GNU testsuite comparison: |
|
GNU testsuite comparison: |
|
GNU testsuite comparison: |
|
GNU testsuite comparison: |
|
GNU testsuite comparison: |
|
GNU testsuite comparison: |
|
GNU testsuite comparison: |
|
GNU testsuite comparison: |
CodSpeed Performance ReportMerging #8663 will degrade performances by 6.56%Comparing Summary
Benchmarks breakdown
Footnotes
|
|
GNU testsuite comparison: |
|
GNU testsuite comparison: |
|
GNU testsuite comparison: |
Again, this failing GNU test is really about the GNU implementation, and not about proper While this might be interesting to some, is it important in a world where statx/etc are faster than getdents64? Yes, we do use DirEntry metadata as much as possible, but right now we are faster and use less overall syscalls than GNU, but more statx/etc calls, but I simply don't think that matters. See: This branch: GNU: |
|
GNU testsuite comparison: |
|
GNU testsuite comparison: |
|
GNU testsuite comparison: |
This reverts commit f2db26c.
|
GNU testsuite comparison: |
|
GNU testsuite comparison: |
|
GNU testsuite comparison: |
See: #8350
Obtaining FileType from DirEntry is cheap, here, we prefer not to eagerly request Metadata when not yet needed, just to obtain a FileType eagerly.