bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#64735: 29.0.92; find invocations are ~15x slower because of ignores


From: Dmitry Gutov
Subject: bug#64735: 29.0.92; find invocations are ~15x slower because of ignores
Date: Wed, 26 Jul 2023 04:51:15 +0300
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.13.0

On 25/07/2023 11:22, Ihor Radchenko wrote:
Dmitry Gutov<dmitry@gutov.dev>  writes:

I'm attaching an extended benchmark, one that includes a "synchronous"
implementation as well. Please give it a spin as well.
GNU/Linux SSD

(my-bench 10 "/usr/src/linux/" "")

(("built-in" . "Elapsed time: 7.034326s (3.598539s in 14 GCs)")
  ("built-in no filename handler alist" . "Elapsed time: 5.907194s (3.698456s in 15 
GCs)")
  ("with-find" . "Elapsed time: 6.078056s (4.052791s in 16 GCs)")
  ("with-find-p" . "Elapsed time: 4.496762s (2.739565s in 11 GCs)")
  ("with-find-sync" . "Elapsed time: 3.702760s (1.715160s in 7 GCs)"))

Thanks, for the extra data point in particular. Easy to see how it compares to the most efficient use of 'find', right (on GNU/Linix, at least)?

It's also something to note that, GC-wise, numbers 1 and 2 are not the worst: the time must be spent somewhere else.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]