all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Jakub Ječmínek via Bug reports for GNU Emacs, the Swiss army knife of text editors" <bug-gnu-emacs@gnu.org>
To: Charalampos Mitrodimas <charmitro@posteo.net>
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 17:52:54 +0000	[thread overview]
Message-ID: <87ikramglo.fsf@kubajecminek.cz> (raw)
In-Reply-To: <240007c8-70a4-432f-a28d-bcf9662ad757@posteo.net>

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.






  reply	other threads:[~2024-12-23 17:52 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 [this message]
2024-12-23 18:20       ` Charalampos Mitrodimas

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=87ikramglo.fsf@kubajecminek.cz \
    --to=bug-gnu-emacs@gnu.org \
    --cc=17219@debbugs.gnu.org \
    --cc=charmitro@posteo.net \
    --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.