fd v9.0.0

v9.0.0
Added 1
  • Support character and block device file types
Changed 4
  • 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
Fixed 1
  • Fix NO_COLOR support
Performance
  • This release is all about performance, which has been significantly improved, both due to optimizations in the underlying ignore crate (#1429 by @tavianator), and in fd itself (#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 / -I or --no-ignore-vcs to override, see #1387 and #1396 (@skoriop)
Bugfixes
  • Fix NO_COLOR support, 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.

View original

Upgraded? How did it go?

Discussion