From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: John Yates Newsgroups: gmane.emacs.devel Subject: Re: How can I predict which regions xdisp will present me for font-locking? Date: Tue, 13 Mar 2012 15:50:31 -0400 Message-ID: References: <20120311205903.GA3717@acm.acm> <83d38iyfox.fsf@gnu.org> <834nttya1l.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1331668255 32024 80.91.229.3 (13 Mar 2012 19:50:55 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 13 Mar 2012 19:50:55 +0000 (UTC) Cc: acm@muc.de, emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Mar 13 20:50:53 2012 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 1S7XkA-0004f9-UL for ged-emacs-devel@m.gmane.org; Tue, 13 Mar 2012 20:50:51 +0100 Original-Received: from localhost ([::1]:49564 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S7XkA-0004yR-9s for ged-emacs-devel@m.gmane.org; Tue, 13 Mar 2012 15:50:50 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:47771) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S7Xk3-0004wY-PX for emacs-devel@gnu.org; Tue, 13 Mar 2012 15:50:48 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1S7Xk2-0005KS-2C for emacs-devel@gnu.org; Tue, 13 Mar 2012 15:50:43 -0400 Original-Received: from mail-gx0-f169.google.com ([209.85.161.169]:62763) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S7Xju-0005JN-Pt; Tue, 13 Mar 2012 15:50:34 -0400 Original-Received: by ggeq1 with SMTP id q1so1174802gge.0 for ; Tue, 13 Mar 2012 12:50:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=yhtqcz5sxPOEZcFiLMU4Z+ENqm5OnYvkIraSXe2xKyU=; b=qmMn811plxyRLWXSJHUG8lYsmMBbyavvsn3O56P6fVrpjPzVEjiHvwIdcX6gPV7h2/ zFT93Bkg+ptWH7wvvIFo+cUhYxDi1ZF2m3+DXdcfXwsTsTFBDeCHzcV86yejPxm6DgAz jZERyHt7YB2XtPDd4drHJ2h8L+bDmKUARVUWLCCfF77TMsp7FNOkAFtHPNDCtEUNGBbU fvMEuEPQoa4RLjnlip2PUKs70rf3pPjAnYnQSkB6IEBNS3Hes7zt07sGMjpb6bfxPB57 01kGQkuVuI4kYEc/naqRQNOCtgh87fzD9nCobP5zP9lAVcNwWILnCSLSNFJQwM/ZFtX6 jSvg== Original-Received: by 10.182.174.101 with SMTP id br5mr13610158obc.0.1331668231392; Tue, 13 Mar 2012 12:50:31 -0700 (PDT) Original-Received: by 10.182.164.37 with HTTP; Tue, 13 Mar 2012 12:50:31 -0700 (PDT) In-Reply-To: <834nttya1l.fsf@gnu.org> X-Google-Sender-Auth: XJDgBU_T7Oc1QqOtMUzGDSk1e58 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 209.85.161.169 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:149013 Archived-At: On Mon, Mar 12, 2012 at 2:00 PM, Eli Zaretskii wrote: > Can you give more quantitative description of the slowdown? =A0E.g., how > much time does it take to move the cursor by one character or one > line, or to insert or delete a single character? My work machine (4 year old technology): o Intel Core2 Duo E8400 (Wolfdale) - dual core, 3GHz, 6MB shared L2, no L3 - 8GB DDr2 via separate Northbridge chip Barely tolerable, perceptible delay inserting characters Home machine (3 year old technology): o AMD Phenom II x4 945 - quad core, 3GHz, 512KB private L2, 6 MB shared L3 - 8GB DDR2 via low latency on-chip memory controller Really painful, at least a second to insert a single character. Both machines run Ubuntu, the same emacs-snapshot and the same set of init files. My guess is that the much larger low latency Intel L2 cache is what makes the difference. The other thing I am noticing on both machine is that when I use keyboard repeat to "C-n" or arrow down I get scrolling behaves akin to an iPhone: after I release my key a large number of buffered input events continue the scrolling. > If you replace cc-mode Lisp files in v24 with those in v23, does the > problem go away? I am really not able to do so. I do not build emacs from scratch. I simply run the current state of Julien Danjou's emacs-snapshot on Ubuntu (11.04 at home, 11.10 at work). /john