emacs-devel
[Top][All Lists]
Advanced

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

Re: emacs takes exhorbitantly long to read long, one-line files.


From: Ulrich Mueller
Subject: Re: emacs takes exhorbitantly long to read long, one-line files.
Date: Wed, 22 May 2013 07:10:38 +0200

>>>>> 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



reply via email to

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