GNU bug report logs - #44210
28.0.50; project.el failed to work after customizing find-program to fd

Previous Next

Package: emacs;

Reported by: Zhiwei Chen <condy0919 <at> gmail.com>

Date: Sun, 25 Oct 2020 11:27:01 UTC

Severity: normal

Found in version 28.0.50

Full log


View this message in rfc822 format

From: Zhiwei Chen <chenzhiwei03 <at> kuaishou.com>
To: Dmitry Gutov <dgutov <at> yandex.ru>
Cc: "44210 <at> debbugs.gnu.org" <44210 <at> debbugs.gnu.org>, "condy0919 <at> gmail.com" <condy0919 <at> 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
[Message part 1 (text/plain, inline)]
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


[Message part 2 (text/html, inline)]

This bug report was last modified 4 years and 151 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.