-
-
Notifications
You must be signed in to change notification settings - Fork 816
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Reproducible benchmarks #36
Comments
As per #30 you might also want to bench against network filesystems like NFS and SMB. And also against sshfs and other FUSE filesystems. |
One thing I noticed is that |
Good catch!! This should be fixed on master (via adaf4f6), i.e. Note: those syscalls are only necessary when colored output is active (in order to check if the entries are symlinks, directories, executables or normal files). |
I think it does a But I'm not sure that's a good idea. Don't we care only about the leaf component? Presumably, non-leaf ones are directories and we only want to check the type of the file. |
Yeah, that might be useful, I suppose. I wasn't sure what
Anyway, this isn't really related to the issue at hand, so sorry for spamming it. |
If somebody has any ideas on how to proceed on this, I'd love to hear them! Here are the two benchmark scripts that I have so far: https://gist.github.com/sharkdp/4bc3e5f5ea9df2f29c02ede50634b16a |
On my system fd is slower than find. After multiple starts: |
@avently Thank you for the feedback! Could you please give a little bit of background information?
|
@sharkdp |
@avently Thanks! I just now looked at your command more closely. Note that these two commands do something quite different:
To have a fair comparison, you should consider running either If you are interested, you could also try experimenting with different numbers of threads via the |
@sharkdp the command i used for test was |
Oh I see, Markdown was interpreting In this case, they are the same (except for case-sensitivity). But note that fd does regex-by-default. |
@sharkdp fd use 344% cpu, find use 96% cpu for those queries. fd is winner in the regex search. |
I'm going to close this, as we have this now: https://github.com/sharkdp/fd-benchmarks |
For example:
The text was updated successfully, but these errors were encountered: