From: Zhiwei Chen <chenzhiwei03@kuaishou.com>
To: Dmitry Gutov <dgutov@yandex.ru>
Cc: "44210@debbugs.gnu.org" <44210@debbugs.gnu.org>,
"condy0919@gmail.com" <condy0919@gmail.com>
Subject: bug#44210: 28.0.50; project.el failed to work after customizing find-program to fd
Date: Mon, 11 Jan 2021 13:04:26 +0000 [thread overview]
Message-ID: <3FA5E66E-F630-4BE9-9603-06A44D787149@kuaishou.com> (raw)
In-Reply-To: <87zh4ak0lr.fsf@gmail.com>
[-- Attachment #1: Type: text/plain, Size: 532 bytes --]
I benchmark it again on linux, where find is of 4.7.0 version and fd is of 8.2.1 version.
Make sure the page cache is cleared before each benchmark.
> sudo sysctl -w vm.drop_caches=3
> cd llvm-project
> sudo sysctl -w vm.drop_caches=3
> time fd > /tmp/fd_output
1.04s user 4.11s system 522% cpu 0.987 total
> sudo sysctl -w vm.drop_caches=3
> time find > /tmp/find_output
0.06s user 0.20s system 7% cpu 3.354 total
Since ‘fd’ is a multi-threaded program, the CPU percent is > 100%.
--
Zhiwei Chen
[-- Attachment #2: Type: text/html, Size: 2012 bytes --]
prev parent reply other threads:[~2021-01-11 13:04 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-10-25 11:26 bug#44210: 28.0.50; project.el failed to work after customizing find-program to fd Zhiwei Chen
2020-10-26 22:37 ` Dmitry Gutov
2021-01-10 3:31 ` Zhiwei Chen
2021-01-10 3:37 ` Zhiwei Chen
2021-01-10 17:48 ` Dmitry Gutov
2021-01-18 1:15 ` Zhiwei Chen
2021-01-18 3:09 ` Dmitry Gutov
2021-01-11 13:04 ` Zhiwei Chen [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3FA5E66E-F630-4BE9-9603-06A44D787149@kuaishou.com \
--to=chenzhiwei03@kuaishou.com \
--cc=44210@debbugs.gnu.org \
--cc=condy0919@gmail.com \
--cc=dgutov@yandex.ru \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.