Deepansh
|
c60cf9c1a8
|
Update man page
|
2019-11-25 00:14:26 +01:00 |
|
sharkdp
|
c14a004367
|
Switch off nightly build
|
2019-10-22 22:18:31 +02:00 |
|
Deepansh
|
a6ed0fc5ef
|
Fix CI error
Fixes sharkdp/fd#496
|
2019-10-09 23:09:21 +02:00 |
|
Deepansh Sood
|
266499800b
|
Fix idempotent flags
Add 'overrides_with' to format flags.
Resolves sharkdp/fd#488
|
2019-10-09 23:09:21 +02:00 |
|
David Peter
|
9491670974
|
Add sponsor button as an experiment :-)
|
2019-10-07 19:45:12 +02:00 |
|
sharkdp
|
d48aeda6b2
|
Apply clippy suggestions
|
2019-09-23 20:23:11 +02:00 |
|
Nathan Henrie
|
59c27baf0f
|
Expand help for -u , add to manpage
|
2019-09-17 22:21:37 +02:00 |
|
Nathan Henrie
|
33f385692d
|
Add -u alias to long --help only
Fixed sharkdp/fd#92, specifically https://github.com/sharkdp/fd/issues/92#issuecomment-522756754
|
2019-09-17 22:21:37 +02:00 |
|
sharkdp
|
b027b2c322
|
Update Cargo.lock
|
2019-09-15 19:29:15 +02:00 |
|
sharkdp
|
9350c8544d
|
Clean up cfg line
|
2019-09-15 18:58:05 +02:00 |
|
sharkdp
|
f55033818d
|
Disable crate in Windows + musl builds
|
2019-09-15 18:58:05 +02:00 |
|
sharkdp
|
1ab4e87dda
|
Disable jemalloc for musl builds
|
2019-09-15 18:58:05 +02:00 |
|
sharkdp
|
4e20803e7d
|
Disable jemallocator on Windows
|
2019-09-15 18:58:05 +02:00 |
|
sharkdp
|
5a154866e3
|
Use jemalloc
Benchmark #1: ./fd-sys-alloc '[0-9]\.jpg$' /home/shark
Time (mean ± σ): 246.8 ms ± 3.4 ms [User: 960.1 ms, System: 810.0 ms]
Range (min … max): 244.1 ms … 257.1 ms 12 runs
Benchmark #2: ./fd-jemalloc '[0-9]\.jpg$' /home/shark
Time (mean ± σ): 201.0 ms ± 3.0 ms [User: 833.9 ms, System: 666.9 ms]
Range (min … max): 196.1 ms … 206.9 ms 14 runs
Summary
'./fd-jemalloc '[0-9]\.jpg$' /home/shark' ran
1.23 ± 0.03 times faster than './fd-sys-alloc '[0-9]\.jpg$' /home/shark'
|
2019-09-15 18:58:05 +02:00 |
|
sharkdp
|
ac3e0e18e4
|
Update lscolors for compatible ansi_term versions
|
2019-09-15 17:30:13 +02:00 |
|
sharkdp
|
9cc0c8ed57
|
Fix build script after update
|
2019-09-15 17:27:12 +02:00 |
|
sharkdp
|
a991ed4488
|
Update dependencies
|
2019-09-15 17:26:19 +02:00 |
|
sharkdp
|
fe79b8ce0a
|
Update man page
|
2019-09-15 17:10:31 +02:00 |
|
sharkdp
|
25a728529d
|
Bump version
|
2019-09-15 17:06:30 +02:00 |
|
sharkdp
|
1056220421
|
Update USAGE section
|
2019-09-15 17:05:34 +02:00 |
|
sharkdp
|
08fcd7ce59
|
Make --changed-within/before work for directories
closes #470
|
2019-09-15 17:03:23 +02:00 |
|
sharkdp
|
50fca2dca2
|
Disable full-path glob test on Windows
|
2019-09-15 16:47:38 +02:00 |
|
sharkdp
|
588888112a
|
Adapt full-path glob test for Windows
|
2019-09-15 16:47:38 +02:00 |
|
sharkdp
|
eac20a8132
|
Add --regex option to override --glob
|
2019-09-15 16:47:38 +02:00 |
|
sharkdp
|
d5da615c17
|
Implement glob-based searches
closes #284
|
2019-09-15 16:47:38 +02:00 |
|
sharkdp
|
641594c2c6
|
Use regex::bytes::* instead of regex::*
|
2019-09-15 16:47:38 +02:00 |
|
sharkdp
|
2545aaabd2
|
Exit immediately when Ctrl-C has been pressed twice
|
2019-09-15 13:06:03 +02:00 |
|
David Peter
|
3599a30ee2
|
Support FILE_ATTRIBUTE_HIDDEN on Windows (#478)
|
2019-09-15 12:41:04 +02:00 |
|
sharkdp
|
f14b854bc1
|
Use existing Cow pointer
|
2019-09-15 10:57:27 +02:00 |
|
sharkdp
|
8f86a06c1a
|
Extend help text
|
2019-09-15 10:57:27 +02:00 |
|
Nathan Moreau
|
761c445263
|
Add a non regression test.
|
2019-09-15 10:57:27 +02:00 |
|
Nathan Moreau
|
588e344d5b
|
Remove type annotation.
|
2019-09-15 10:57:27 +02:00 |
|
Nathan Moreau
|
e3af9b0307
|
Factor into a helper function; adapt to print_entry_uncolorized.
|
2019-09-15 10:57:27 +02:00 |
|
Nathan Moreau
|
29bf9d731d
|
Handle any string replacement.
|
2019-09-15 10:57:27 +02:00 |
|
Nathan Moreau
|
3857fa8f62
|
Amend clap configuration for path-separator.
|
2019-09-15 10:57:27 +02:00 |
|
Nathan Moreau
|
24e108e1ad
|
Add path-separator option.
Example usage: `fd.exe --path-separator /` on windows.
|
2019-09-15 10:57:27 +02:00 |
|
sharkdp
|
1d16cd855e
|
Fix warnings
|
2019-09-15 10:48:29 +02:00 |
|
sharkdp
|
a0505bd4df
|
Expose exit status from --exec-batch <cmd>
closes #333
|
2019-09-13 23:05:35 +02:00 |
|
David Peter
|
630749f706
|
Clarify statement about number of threads for parallell execution
|
2019-06-17 19:25:16 +02:00 |
|
Jason Heeris
|
1daa454615
|
Added detail on parallel execution job pool to man page and README.
|
2019-06-17 19:21:47 +02:00 |
|
Jason Heeris
|
040c57e007
|
Added gcc_prefix to make_deb() function.
|
2019-06-17 19:19:33 +02:00 |
|
Jason Heeris
|
1ce2add943
|
Added armhf deb target.
|
2019-06-17 19:19:33 +02:00 |
|
Jason Heeris
|
418233193a
|
Added armhf build to CI.
|
2019-06-17 19:19:33 +02:00 |
|
Chloe Kudryavtsev
|
0b04bd19df
|
Add Alpine Linux installation instructions
Resolves #451
|
2019-06-11 07:38:55 +02:00 |
|
David Peter
|
ac2dae0427
|
Update Ubuntu install instructions
|
2019-05-31 21:26:00 +02:00 |
|
sharkdp
|
53afcd8fc3
|
Add a section about "removing files"
see #387
|
2019-05-31 14:30:54 +02:00 |
|
Pablo Varela
|
d266fa3010
|
Remove npm on macOS
|
2019-05-10 11:43:57 -05:00 |
|
Pablo Varela
|
e7d0a91986
|
ocd
|
2019-05-10 11:43:57 -05:00 |
|
Pablo Varela
|
801816ee6c
|
Add instructions for npm
|
2019-05-10 11:43:57 -05:00 |
|
Tavian Barnes
|
5cbd8405ec
|
Check the pattern before anything else, since it doesn't require metadata
This should partially address #432 by decreasing the number of stat() calls:
$ strace -c -f ./fd-before '\.h$' /usr -j1 -S +1k >/dev/null
% time seconds usecs/call calls errors syscall
------ ----------- ----------- --------- --------- ----------------
15.71 8.831948 7 1192279 46059 stat
$ strace -c -f ./fd-after '\.h$' /usr -j1 -S +1k >/dev/null
% time seconds usecs/call calls errors syscall
------ ----------- ----------- --------- --------- ----------------
7.92 1.972474 10 183907 46046 stat
Though it's not as few as possible:
$ strace -c -f find /usr -iname '*.h' -size +1k >/dev/null
% time seconds usecs/call calls errors syscall
------ ----------- ----------- --------- --------- ----------------
19.01 0.946500 5 161649 newfstatat
$ strace -c -f bfs /usr -iname '*.h' -size +1k >/dev/null
% time seconds usecs/call calls errors syscall
------ ----------- ----------- --------- --------- ----------------
13.73 0.406565 5 69005 statx
Performance is much better when metadata is required:
$ hyperfine ./fd-{before,after}" '\.h$' /usr -j1 -S +1k"
Benchmark #1: ./fd-before '\.h$' /usr -j1 -S +1k
Time (mean ± σ): 4.623 s ± 0.154 s [User: 1.465 s, System: 3.354 s]
Range (min … max): 4.327 s … 4.815 s 10 runs
Benchmark #2: ./fd-after '\.h$' /usr -j1 -S +1k
Time (mean ± σ): 2.650 s ± 0.058 s [User: 1.258 s, System: 1.592 s]
Range (min … max): 2.568 s … 2.723 s 10 runs
Summary
'./fd-after '\.h$' /usr -j1 -S +1k' ran
1.74 ± 0.07 times faster than './fd-before '\.h$' /usr -j1 -S +1k'
While remaining the same when it's not:
$ hyperfine ./fd-{before,after}" '\.h$' /usr -j1"
Benchmark #1: ./fd-before '\.h$' /usr -j1
Time (mean ± σ): 2.382 s ± 0.038 s [User: 1.221 s, System: 1.286 s]
Range (min … max): 2.325 s … 2.433 s 10 runs
Benchmark #2: ./fd-after '\.h$' /usr -j1
Time (mean ± σ): 2.362 s ± 0.034 s [User: 1.193 s, System: 1.294 s]
Range (min … max): 2.307 s … 2.422 s 10 runs
Summary
'./fd-after '\.h$' /usr -j1' ran
1.01 ± 0.02 times faster than './fd-before '\.h$' /usr -j1'
|
2019-05-08 07:28:47 -05:00 |
|