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

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

bug#17219: 24.3.50; wrong alignment when a list is given to dired


From: Charalampos Mitrodimas
Subject: bug#17219: 24.3.50; wrong alignment when a list is given to dired
Date: Mon, 23 Dec 2024 18:20:23 +0000

Thanks Jakub!

On 12/23/24 19:52, Jakub Ječmínek via Bug reports for GNU Emacs, the Swiss army knife of text editors wrote:
Hello,

"Charalampos Mitrodimas" <charmitro@posteo.net> writes:

What about performance? Depending on the size of the directory,
recalculating alignment could have a minor performance impact.
There is. The largest directory I have on my machine has around 18k
files (~5GB) and the penalty is around 20ms. I've run the tests for both
functions in standalone Emacs session started using 'emacs -Q'. Below
are the profiling results:

Function Name     Call Count  Elapsed Time  Average Time
--------------------------------------------------------
dired-revert-new  10          5.2096629750  0.5209662975
dired-revert-old  10          5.051716523   0.5051716522

dired-revert-new  25          11.843308944  0.4737323577
dired-revert-old  25          11.391448779  0.4556579511


Please let me know if that's too high so we can find another way.
If my math doesn't deceive me, the performance penalty ranges
between 3.13% (10 calls) and 3.97% (25 calls) based on the profiling
results, which I find acceptable.


--
C. Mitrodimas






reply via email to

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