From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Ulrich Mueller Newsgroups: gmane.emacs.devel Subject: Re: emacs takes exhorbitantly long to read long, one-line files. Date: Wed, 22 May 2013 07:10:38 +0200 Message-ID: <20892.21326.472309.499588@a1i15.kph.uni-mainz.de> References: <87ppwn62yr.fsf@digitalsignallabs.com> <5199E19A.3020503@yandex.ru> <877git6hhv.fsf@digitalsignallabs.com> <519A08B2.7010106@yandex.ru> <87r4h1lo20.fsf@kwarm.red-bean.com> <838v39wsjz.fsf@gnu.org> <20891.10479.288862.913812@a1i15.kph.uni-mainz.de> <8361ycusiy.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1369199468 6087 80.91.229.3 (22 May 2013 05:11:08 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 22 May 2013 05:11:08 +0000 (UTC) Cc: kfogel@red-bean.com, dmantipov@yandex.ru, yates@digitalsignallabs.com, emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed May 22 07:11:07 2013 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Uf1KM-0000gS-5q for ged-emacs-devel@m.gmane.org; Wed, 22 May 2013 07:11:06 +0200 Original-Received: from localhost ([::1]:58236 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Uf1KL-0007rE-A4 for ged-emacs-devel@m.gmane.org; Wed, 22 May 2013 01:11:05 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:54012) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Uf1KB-0007r3-GP for emacs-devel@gnu.org; Wed, 22 May 2013 01:11:01 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Uf1K1-0001DH-Ra for emacs-devel@gnu.org; Wed, 22 May 2013 01:10:55 -0400 Original-Received: from a1www.kph.uni-mainz.de ([134.93.134.1]:34277) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Uf1K1-0001D4-Cw; Wed, 22 May 2013 01:10:45 -0400 Original-Received: from a1i15.kph.uni-mainz.de (a1i15.kph.uni-mainz.de [134.93.134.92]) by a1www.kph.uni-mainz.de (8.14.4/8.13.4) with ESMTP id r4M5AfsJ029497; Wed, 22 May 2013 07:10:41 +0200 Original-Received: from a1i15.kph.uni-mainz.de (localhost [127.0.0.1]) by a1i15.kph.uni-mainz.de (8.14.6/8.14.2) with ESMTP id r4M5Adv2016206; Wed, 22 May 2013 07:10:39 +0200 Original-Received: (from ulm@localhost) by a1i15.kph.uni-mainz.de (8.14.6/8.14.6/Submit) id r4M5Acb1016201; Wed, 22 May 2013 07:10:38 +0200 In-Reply-To: <8361ycusiy.fsf@gnu.org> X-Mailer: VM 8.2.0b under 24.3.1 (x86_64-pc-linux-gnu) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 134.93.134.1 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:159726 Archived-At: >>>>> 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