dependabot[bot]
49cd62d65e
build(deps): bump filetime from 0.2.22 to 0.2.23
...
Bumps [filetime](https://github.com/alexcrichton/filetime ) from 0.2.22 to 0.2.23.
- [Commits](https://github.com/alexcrichton/filetime/compare/0.2.22...0.2.23 )
---
updated-dependencies:
- dependency-name: filetime
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-01-01 17:33:54 +00:00
Thayne McCombs
f48372624d
Merge pull request #1463 from Roshanjossey/patch-1
...
Format notes in Readme
2023-12-27 22:25:00 -07:00
Roshan Jossy
5cd15536b6
Format notes in Readme
2023-12-28 00:50:02 +01:00
Sayan Goswami
aeb4a5fdad
Fixes typo in README
...
Fixes a tiny typo: ~defautl~ to default.
2023-12-27 14:32:00 -05:00
Thayne McCombs
9529f30129
fix: Respect NO_COLOR with --list-details option
...
Fixes : #1455
2023-12-23 21:32:33 +01:00
Thayne McCombs
266311ca33
Merge pull request #1454 from tavianator/thats-a-lot-of-issues
...
CHANGELOG: Fix issue number typo
2023-12-19 13:37:47 -07:00
Tavian Barnes
954a3900b9
CHANGELOG: Fix issue number typo
2023-12-19 14:04:01 -05:00
David Peter
07343b5baf
Update troubleshooting section
2023-12-19 11:45:09 +01:00
David Peter
a03ed8b300
Update license information
2023-12-19 11:44:20 +01:00
David Peter
13a93e5cbe
Add new unreleased section
2023-12-19 11:42:27 +01:00
David Peter
d9c4e6239f
Fix names for ARM Debian packages
2023-12-19 11:28:59 +01:00
David Peter
61ebd9be6a
Update benchmark results
2023-12-19 11:28:59 +01:00
David Peter
e3b40208d5
Preprations for fd 9 release
2023-12-19 11:28:59 +01:00
Tavian Barnes
16c2d1e1d0
walk: Flush stdout in batches
...
The previous behaviour was designed to mimic the output buffering of
typical UNIX tools: line-buffered if stdout is a TTY, and fully-buffered
otherwise. More precicely, when printing to a terminal, fd would flush
explicitly after printing any buffered results, then flush after every
single result once streaming mode started. When not printing to a
terminal, fd never explicitly flushed, so writes would only happen as
the BufWriter filled up.
The new behaviour actually unifies the TTY and non-TTY cases: we flush
after printing the buffered results, then once we start streaming, we
flush after each batch, but *only when the channel is empty*. This
provides a good balance: if the channel is empty, the receiver thread
might as well flush before it goes to sleep waiting for more results.
If the channel is non-empty, we might as well process those results
before deciding to flush.
For TTYs, this should improve performance by consolidating write() calls
without sacrificing interactivity. For non-TTYs, we'll be flushing more
often, but only when the receiver would otherwise have nothing to do,
thus improving interactivity without sacrificing performance. This is
particularly handy when fd is piped into another command (such as head
or grep): with the old behaviour, fd could wait for the whole traversal
to finish before printing anything. With the new behaviour, fd will
print those results soon after they are received.
Fixes #1313 .
2023-12-18 22:01:11 +01:00
Tavian Barnes
fea1622724
cli: Tweak default thread count logic
2023-12-18 21:55:18 +01:00
David Peter
00b64f3ccb
Suggest to use -u
instead of -HI
2023-12-08 13:37:03 +01:00
Thayne McCombs
74b850a642
Merge pull request #1436 from sharkdp/dependabot/cargo/clap-4.4.10
...
build(deps): bump clap from 4.4.7 to 4.4.10
2023-12-01 11:18:35 -07:00
dependabot[bot]
4202f3939e
build(deps): bump test-case from 3.2.1 to 3.3.1
...
Bumps [test-case](https://github.com/frondeus/test-case ) from 3.2.1 to 3.3.1.
- [Release notes](https://github.com/frondeus/test-case/releases )
- [Changelog](https://github.com/frondeus/test-case/blob/master/CHANGELOG.md )
- [Commits](https://github.com/frondeus/test-case/compare/v3.2.1...v3.3.1 )
---
updated-dependencies:
- dependency-name: test-case
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-12-01 18:39:13 +01:00
dependabot[bot]
e1ecba2ce4
build(deps): bump lscolors from 0.15.0 to 0.16.0
...
Bumps [lscolors](https://github.com/sharkdp/lscolors ) from 0.15.0 to 0.16.0.
- [Release notes](https://github.com/sharkdp/lscolors/releases )
- [Commits](https://github.com/sharkdp/lscolors/compare/v0.15.0...0.16.0 )
---
updated-dependencies:
- dependency-name: lscolors
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-12-01 18:38:29 +01:00
dependabot[bot]
0853e35e1f
build(deps): bump libc from 0.2.149 to 0.2.150
...
Bumps [libc](https://github.com/rust-lang/libc ) from 0.2.149 to 0.2.150.
- [Release notes](https://github.com/rust-lang/libc/releases )
- [Commits](https://github.com/rust-lang/libc/compare/0.2.149...0.2.150 )
---
updated-dependencies:
- dependency-name: libc
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-12-01 18:37:58 +01:00
dependabot[bot]
4b4a74c988
build(deps): bump clap from 4.4.7 to 4.4.10
...
Bumps [clap](https://github.com/clap-rs/clap ) from 4.4.7 to 4.4.10.
- [Release notes](https://github.com/clap-rs/clap/releases )
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md )
- [Commits](https://github.com/clap-rs/clap/compare/v4.4.7...v4.4.10 )
---
updated-dependencies:
- dependency-name: clap
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-12-01 17:25:38 +00:00
Tavian Barnes
84f032eba8
Merge pull request #1422 from tavianator/batch
...
walk: Send WorkerResults in batches
2023-11-29 10:57:19 -05:00
Tavian Barnes
b8a5f95cf2
walk: Limit batch sizes in --exec mode
2023-11-28 15:51:33 -05:00
Tavian Barnes
73260c0e35
walk: Send WorkerResults in batches
2023-11-28 15:51:33 -05:00
Tavian Barnes
5903dec289
Merge pull request #1429 from tavianator/ignore-0.4.21
...
Bump ignore to 0.4.21
2023-11-26 16:28:55 -05:00
Tavian Barnes
571ebb349b
Bump ignore to 0.4.21
...
This includes all the patches from #1420 , so switch back to the official
release.
2023-11-26 14:39:25 -05:00
Tavian Barnes
d62bbbbcd1
Merge pull request #1421 from acuteenvy/fix-no-color
...
fix: display color when `NO_COLOR` is an empty string
2023-11-07 13:29:50 -05:00
Lena
ad5fb44ddc
fix: display color when NO_COLOR is an empty string
2023-11-04 15:07:10 +01:00
Tavian Barnes
8bbbd7679b
walk: New WorkerState struct shared by the worker threads
2023-11-02 17:07:38 +01:00
David Peter
cd32a3827d
Update lockfile
2023-11-02 08:07:39 +01:00
Tavian Barnes
66c0637c90
Use a patched version of ignore for perf improvements
...
- d938e955af
- https://github.com/BurntSushi/ripgrep/pull/2624
- https://github.com/BurntSushi/ripgrep/pull/2642
2023-11-01 21:20:54 +01:00
Tavian Barnes
c9df4296f9
Merge pull request #1419 from sharkdp/dependabot/cargo/clap_complete-4.4.4
...
build(deps): bump clap_complete from 4.4.3 to 4.4.4
2023-11-01 14:07:43 -04:00
Tavian Barnes
7c5cf28ace
Merge pull request #1418 from sharkdp/dependabot/cargo/clap-4.4.7
...
build(deps): bump clap from 4.4.6 to 4.4.7
2023-11-01 14:07:26 -04:00
Tavian Barnes
51002c842d
Merge pull request #1417 from sharkdp/dependabot/cargo/nix-0.27.1
...
build(deps): bump nix from 0.26.4 to 0.27.1
2023-11-01 13:40:57 -04:00
Tavian Barnes
8e582971fa
Merge pull request #1416 from sharkdp/dependabot/cargo/regex-syntax-0.8.2
...
build(deps): bump regex-syntax from 0.7.5 to 0.8.2
2023-11-01 13:36:58 -04:00
Tavian Barnes
6daa72f929
Merge pull request #1415 from sharkdp/dependabot/cargo/tempfile-3.8.1
...
build(deps): bump tempfile from 3.8.0 to 3.8.1
2023-11-01 13:36:14 -04:00
dependabot[bot]
8355d78359
build(deps): bump clap_complete from 4.4.3 to 4.4.4
...
Bumps [clap_complete](https://github.com/clap-rs/clap ) from 4.4.3 to 4.4.4.
- [Release notes](https://github.com/clap-rs/clap/releases )
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md )
- [Commits](https://github.com/clap-rs/clap/compare/clap_complete-v4.4.3...clap_complete-v4.4.4 )
---
updated-dependencies:
- dependency-name: clap_complete
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-11-01 17:20:14 +00:00
dependabot[bot]
dbc1818073
build(deps): bump clap from 4.4.6 to 4.4.7
...
Bumps [clap](https://github.com/clap-rs/clap ) from 4.4.6 to 4.4.7.
- [Release notes](https://github.com/clap-rs/clap/releases )
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md )
- [Commits](https://github.com/clap-rs/clap/compare/v4.4.6...v4.4.7 )
---
updated-dependencies:
- dependency-name: clap
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-11-01 17:20:06 +00:00
dependabot[bot]
e57ce7f2a4
build(deps): bump nix from 0.26.4 to 0.27.1
...
Bumps [nix](https://github.com/nix-rust/nix ) from 0.26.4 to 0.27.1.
- [Changelog](https://github.com/nix-rust/nix/blob/master/CHANGELOG.md )
- [Commits](https://github.com/nix-rust/nix/compare/v0.26.4...v0.27.1 )
---
updated-dependencies:
- dependency-name: nix
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-11-01 17:19:59 +00:00
dependabot[bot]
d8f89fa59e
build(deps): bump regex-syntax from 0.7.5 to 0.8.2
...
Bumps [regex-syntax](https://github.com/rust-lang/regex ) from 0.7.5 to 0.8.2.
- [Release notes](https://github.com/rust-lang/regex/releases )
- [Changelog](https://github.com/rust-lang/regex/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-lang/regex/compare/regex-syntax-0.7.5...regex-syntax-0.8.2 )
---
updated-dependencies:
- dependency-name: regex-syntax
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-11-01 17:19:54 +00:00
dependabot[bot]
350003d8da
build(deps): bump tempfile from 3.8.0 to 3.8.1
...
Bumps [tempfile](https://github.com/Stebalien/tempfile ) from 3.8.0 to 3.8.1.
- [Changelog](https://github.com/Stebalien/tempfile/blob/master/CHANGELOG.md )
- [Commits](https://github.com/Stebalien/tempfile/commits )
---
updated-dependencies:
- dependency-name: tempfile
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-11-01 17:19:49 +00:00
tkb-github
15329f9cfa
Update RHEL package info
2023-11-01 16:25:25 +01:00
Thayne McCombs
95b4dff379
Merge pull request #1412 from tmccombs/limit-default-threads
...
Limit default threads
2023-10-27 23:26:31 -06:00
Thayne McCombs
c96b1af3be
Merge pull request #1410 from tmccombs/available-parallelism
...
Replace num_cpus with `std:🧵 :available_parallelism`
2023-10-27 23:25:51 -06:00
Thayne McCombs
5ee6365510
Set maximum default threads
...
Set a limit of how many threads fd will use by default. On hosts that
have a large number of cores, using additional threads has diminishing
returns, and having large numbers of threads increases the setup cost.
Thus we don't necessarily want to use the same number of threads as we
have cores.
Fixes : #1203
2023-10-26 00:48:30 -06:00
Thayne McCombs
1d57b3a064
Simplify parsing number of threads.
2023-10-25 23:56:59 -06:00
Thayne McCombs
325d419e39
Replace num_cpus with std: 🧵 :available_parallelism
...
I think this might help startup time a little bit, since it looks like
on linux at least the std implementation uses syscalls to determine the
parallelism, whereas num_cpus was processing the /proc/cpuinfo file.
It also removes another dependency.
2023-10-25 02:00:31 -06:00
Thayne McCombs
8b5532d8dd
Merge pull request #1409 from marcospb19/fix-docs-typo
...
Fix docs typos
2023-10-23 22:10:05 -06:00
João Marcos P. Bezerra
7263b5e01d
Fix docs typos
2023-10-24 00:40:12 -03:00
Thayne McCombs
c6fcdbe000
docs: Explicitly warn against relying on result order for exec
...
Supersedes: #1230
Fixes : #1228
2023-10-23 08:34:15 +02:00