- Support character and block device file types
- Significantly improved performance through optimizations in the ignore crate and fd itself, with benchmark results showing gains of 6-8x for smaller directories and up to 13x for larger directories
- Constrain default number of threads to at most 64 to improve startup time on systems with many CPU cores
- Implement new flushing behavior when writing output to stdout for better performance in TTY and non-TTY use cases
- .git/ is now ignored by default when using --hidden or -H, use --no-ignore or --no-ignore-vcs to override
- Fix NO_COLOR support
Performance
-
This release is all about performance, which has been significantly improved, both due to optimizations in the underlying
ignorecrate (#1429 by @tavianator), and infditself (#1422, #1408, #1362 by @tavianator). Benchmark results show gains of 6-8x for full traversals of smaller directories (100k files) and up to 13x for larger directories (1M files). -
The default number of threads is now constrained to be at most 64. This should improve startup time on systems with many CPU cores. (#1203, #1410, #1412, #1431) - @tmccombs and @tavianator
-
New flushing behavior when writing output to stdout, providing better performance for TTY and non-TTY use cases, see #1452 and #1313 (@tavianator).
Features
- Support character and block device file types, see #1213 and #1336 (@cgzones)
- Breaking:
.git/is now ignored by default when using--hidden/-H, use--no-ignore/-Ior--no-ignore-vcsto override, see #1387 and #1396 (@skoriop)
Bugfixes
- Fix
NO_COLORsupport, see #1421 (@acuteenvy)
Other
- Fixed documentation typos, see #1409 (@marcospb19)
Thanks
Special thanks to @tavianator for his incredible work on performance in the ignore crate and fd itself.