emacs-devel
[Top][All Lists]
Advanced

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

Re: A project-files implementation for Git projects


From: Dmitry Gutov
Subject: Re: A project-files implementation for Git projects
Date: Fri, 4 Oct 2019 18:24:55 +0300
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0

On 04.10.2019 16:59, Tassilo Horn wrote:

In any case, I just pushed an optimized implementation for Hg. Please
try it out as well when you have time. On my machine it's ~equal with
'find' based implementation now (roughly 7 seconds).

I get about the same time as before.

Files: 283417 (VC) vs. 283497 (find)
VC) Elapsed time: 4.525872s (0.620848s in 11 GCs)
Find) Elapsed time: 18.480051s (0.268073s in 4 GCs)

Curious.

The performance of 'hg status --all' and 'hg status --all --no-status' is significantly different on my machine (the latter is almost 2x faster).

Maybe the difference is part of post-4.8.2 improvements.

(project--files-in-directory default-directory nil) completes in 2.6s,
though.

Hm, 13 seconds on the first run and then about 3.7 seconds on each
subsequent run.

Right, I only mention the "warm" numbers. The result is par for the course, the laptop I'm typing this on is pretty new, so the disk performance should be better than most our users will see for a while.



reply via email to

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