unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Ulrich Mueller <ulm@gentoo.org>
To: Eli Zaretskii <eliz@gnu.org>
Cc: kfogel@red-bean.com, dmantipov@yandex.ru,
	yates@digitalsignallabs.com, emacs-devel@gnu.org
Subject: Re: emacs takes exhorbitantly long to read long, one-line files.
Date: Wed, 22 May 2013 07:10:38 +0200	[thread overview]
Message-ID: <20892.21326.472309.499588@a1i15.kph.uni-mainz.de> (raw)
In-Reply-To: <8361ycusiy.fsf@gnu.org>

>>>>> On Tue, 21 May 2013, Eli Zaretskii wrote:

>> I've done this test for a file with one line of 16 MB, and I get the
>> following times for the first and second commands (emacs -Q -nw in
>> an 80x24 xterm):
>> 
>> Emacs 23.4:   4 s /  9 s
>> Emacs 24.3:  16 s / 34 s
>> 
>> Is this degradation of performance expected?

> I see no degradation in performance: both 4 sec and 6 sec, let alone
> 9 and 34, are the same as infinity. You cannot have any useful
> editing with such reaction times to a simple cursor movement
> command. It is therefore meaningless to compare such "performance"
> figures and draw any conclusions from them.

Sure, the example with 16 MB in one line is unrealistic. I made it so,
simply because I wanted the times to be long enough to be measurable
with a stop watch.

But wouldn't the factors between 23.4 and 24.3 be similar for more
realistic examples?

Ulrich



  parent reply	other threads:[~2013-05-22  5:10 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-05-19  3:52 emacs takes exhorbitantly long to read long, one-line files Randy Yates
2013-05-19 14:41 ` Eli Zaretskii
2013-05-20  8:40 ` Dmitry Antipov
2013-05-20 11:03   ` Randy Yates
2013-05-20 11:27     ` Dmitry Antipov
2013-05-20 14:32       ` Karl Fogel
2013-05-20 15:59         ` Eli Zaretskii
2013-05-20 16:25           ` Dmitry Antipov
2013-05-20 16:41             ` Eli Zaretskii
2013-05-20 21:43           ` Randy Yates
2013-05-21  2:21             ` Stephen J. Turnbull
2013-05-21  2:47             ` Eli Zaretskii
2013-05-21  7:57           ` Ulrich Mueller
2013-05-21 10:20             ` Dmitry Antipov
2013-05-21 12:06               ` Ulrich Mueller
2013-05-21 17:21                 ` Eli Zaretskii
2013-05-21 17:18               ` Eli Zaretskii
2013-05-21 17:55             ` Eli Zaretskii
2013-05-21 18:03               ` Randy Yates
2013-05-21 18:28                 ` Dmitry Antipov
2013-05-22  5:10               ` Ulrich Mueller [this message]
2013-05-22 14:51                 ` Eli Zaretskii

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20892.21326.472309.499588@a1i15.kph.uni-mainz.de \
    --to=ulm@gentoo.org \
    --cc=dmantipov@yandex.ru \
    --cc=eliz@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=kfogel@red-bean.com \
    --cc=yates@digitalsignallabs.com \
    /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 public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).