Open jesseschalken opened 2 weeks ago
nice could you please try to benchmark with hyperfine ? and document your work in src/uu/du/BENCHMARKING.md ?
see other commands for example
and i wonder if we could automate this check to make sure we don't regress :)
GNU testsuite comparison:
Skipping an intermittent issue tests/rm/rm1 (passes in this run but fails in the 'main' branch)
Skipping an intermittent issue tests/timeout/timeout (passes in this run but fails in the 'main' branch)
ping ?
Path::is_dir
does another call tostat
but we can reuse the metadata we already have.Also
Path::is_dir
traverses symbolic links which is only right if-L
was passed.~1.13x speedup on my test directory.
Before
After