unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Zhiwei Chen <condy0919@gmail.com>
To: Dmitry Gutov <dgutov@yandex.ru>
Cc: "44210@debbugs.gnu.org" <44210@debbugs.gnu.org>,
	Zhiwei Chen <chenzhiwei03@kuaishou.com>
Subject: bug#44210: 28.0.50; project.el failed to work after customizing find-program to fd
Date: Mon, 18 Jan 2021 09:15:03 +0800	[thread overview]
Message-ID: <87ft2zgi5k.fsf@gmail.com> (raw)
In-Reply-To: <636aabc5-b636-bc17-9d76-4aff28f4f60a@yandex.ru> (Dmitry Gutov's message of "Sun, 10 Jan 2021 19:48:32 +0200")


I think I replied to the wrong thread, so forwarded it again.

> 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





  reply	other threads:[~2021-01-18  1:15 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 [this message]
2021-01-18  3:09         ` Dmitry Gutov
2021-01-11 13:04 ` Zhiwei Chen

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87ft2zgi5k.fsf@gmail.com \
    --to=condy0919@gmail.com \
    --cc=44210@debbugs.gnu.org \
    --cc=chenzhiwei03@kuaishou.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 public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).