From: Charalampos Mitrodimas <charmitro@posteo.net>
To: "Jakub Ječmínek" <kuba@kubajecminek.cz>
Cc: Nicolas Richard <theonewiththeevillook@yahoo.fr>,
Eli Zaretskii <eliz@gnu.org>,
17219@debbugs.gnu.org
Subject: bug#17219: 24.3.50; wrong alignment when a list is given to dired
Date: Mon, 23 Dec 2024 18:20:23 +0000 [thread overview]
Message-ID: <cd0363e3-2e13-4cdc-953f-8d7f10ca26ae@posteo.net> (raw)
In-Reply-To: <87ikramglo.fsf@kubajecminek.cz>
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
prev parent reply other threads:[~2024-12-23 18:20 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-04-07 17:35 bug#17219: 24.3.50; wrong alignment when a list is given to dired Nicolas Richard
2019-08-15 0:03 ` Lars Ingebrigtsen
2019-09-19 16:18 ` Nicolas Richard via Bug reports for GNU Emacs, the Swiss army knife of text editors
2019-09-20 6:28 ` Eli Zaretskii
2019-09-20 12:48 ` Lars Ingebrigtsen
2024-12-22 21:08 ` Jakub Ječmínek via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-12-23 0:25 ` Charalampos Mitrodimas
2024-12-23 17:52 ` Jakub Ječmínek via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-12-23 18:20 ` Charalampos Mitrodimas [this message]
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=cd0363e3-2e13-4cdc-953f-8d7f10ca26ae@posteo.net \
--to=charmitro@posteo.net \
--cc=17219@debbugs.gnu.org \
--cc=eliz@gnu.org \
--cc=kuba@kubajecminek.cz \
--cc=theonewiththeevillook@yahoo.fr \
/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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.