From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: John Wiegley Newsgroups: gmane.emacs.bugs Subject: bug#11545: 24.0.96-mac-2.92; Strange speed problem scrolling in C++ code Date: Mon, 28 May 2012 18:05:15 -0500 Message-ID: References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1338246355 27904 80.91.229.3 (28 May 2012 23:05:55 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 28 May 2012 23:05:55 +0000 (UTC) Cc: mituharu+bug-gnu-emacs-mac@math.s.chiba-u.ac.jp, 11545@debbugs.gnu.org To: YAMAMOTO Mitsuharu Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue May 29 01:05:53 2012 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1SZ90a-00010v-PG for geb-bug-gnu-emacs@m.gmane.org; Tue, 29 May 2012 01:05:53 +0200 Original-Received: from localhost ([::1]:41598 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SZ90a-0001hT-De for geb-bug-gnu-emacs@m.gmane.org; Mon, 28 May 2012 19:05:52 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:33507) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SZ90X-0001e5-39 for bug-gnu-emacs@gnu.org; Mon, 28 May 2012 19:05:50 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SZ90U-0006Um-DP for bug-gnu-emacs@gnu.org; Mon, 28 May 2012 19:05:48 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:37756) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SZ90Q-0006U0-UE; Mon, 28 May 2012 19:05:43 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1SZ91i-0004Hs-90; Mon, 28 May 2012 19:07:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: John Wiegley Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org, bug-cc-mode@gnu.org Resent-Date: Mon, 28 May 2012 23:07:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 11545 X-GNU-PR-Package: emacs,cc-mode X-GNU-PR-Keywords: X-Debbugs-Original-Cc: bug-cc-mode@gnu.org, bug-gnu-emacs@gnu.org, mituharu+bug-gnu-emacs-mac@math.s.chiba-u.ac.jp Original-Received: via spool by submit@debbugs.gnu.org id=B.133824641816469 (code B ref -1); Mon, 28 May 2012 23:07:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 28 May 2012 23:06:58 +0000 Original-Received: from localhost ([127.0.0.1]:47302 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SZ91d-0004HZ-Ab for submit@debbugs.gnu.org; Mon, 28 May 2012 19:06:58 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:59695) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SZ91b-0004HO-8k for submit@debbugs.gnu.org; Mon, 28 May 2012 19:06:56 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SZ90C-0006Sc-Lx for submit@debbugs.gnu.org; Mon, 28 May 2012 19:05:30 -0400 Original-Received: from lists.gnu.org ([208.118.235.17]:51120) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SZ90C-0006SX-GL for submit@debbugs.gnu.org; Mon, 28 May 2012 19:05:28 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:33384) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SZ90A-0001dN-Mn for bug-gnu-emacs@gnu.org; Mon, 28 May 2012 19:05:28 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SZ908-0006Rc-SS for bug-gnu-emacs@gnu.org; Mon, 28 May 2012 19:05:26 -0400 Original-Received: from mail-ob0-f169.google.com ([209.85.214.169]:56025) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SZ905-0006Qw-4a; Mon, 28 May 2012 19:05:21 -0400 Original-Received: by obbwd18 with SMTP id wd18so7488056obb.0 for ; Mon, 28 May 2012 16:05:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=to:cc:subject:references:from:date:in-reply-to:message-id :user-agent:mime-version:content-type; bh=wy7Ph1FRGTfs9wjQej1pERdUJf5ZyT3iFCId06oBhSs=; b=bjDaSTDDT9+FEzc6ZAKSbx9TAOFWjb3C443y+QM4PehA4jzMxuPL/++lBfJ+BxpBLN dcOcygWaEn3syMyGBJigsOGAFu72/Rx8WsqBTKcigBGfXX4W4zh4j/N7gyxVck8GS2xB uyQA/KFxqZbqEFJWgUpW9hjI+ppo5SmBRxdCQqXnRNQ+bbV8ASNS0UfcKoRmFzHyCSHT jYvyfiFu0gFnriByx0Cq3LqGjyuQ7xbhFsHTyBi/B6AkJpg/UsdbUJPoXCP/bExyZrB9 tr3O4F6eaH8RfF08czmynJHKjQhuv78at0lpiz3rJBkgn8Dkwma4bHwvYf/Wcxw5LwGc bWAA== Original-Received: by 10.50.217.193 with SMTP id pa1mr5456207igc.39.1338246317669; Mon, 28 May 2012 16:05:17 -0700 (PDT) Original-Received: from vulcan.local (c-98-215-105-167.hsd1.il.comcast.net. [98.215.105.167]) by mx.google.com with ESMTPS id ud8sm12676010igb.4.2012.05.28.16.05.16 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 28 May 2012 16:05:16 -0700 (PDT) Original-Received: by vulcan.local (Postfix, from userid 501) id 90753E8B484C; Mon, 28 May 2012 18:05:15 -0500 (CDT) In-Reply-To: (John Wiegley's message of "Wed, 23 May 2012 02:24:49 -0500") User-Agent: Gnus/5.130006 (Ma Gnus v0.6) Emacs/23.4 (darwin) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:60439 Archived-At: >>>>> John Wiegley writes: >>>>>> YAMAMOTO Mitsuharu writes: >> With the Time Profiler in Instrument.app, I found that fontification >> of CC Mode in Emacs 24 is much heavier and causes frequent GCs than >> that in Emacs 23. Please try the following: >> >> 1. Start Emacs 24 Mac port with -Q (alternatively, pressing the >> shift key.) >> 2. M-x load-file PREFIX/share/emacs/23.4/lisp/progmodes/cc-fonts.elc >> RTE. >> 3. Replay scrolling a large C++ file. >> >> I'm not sure if this slowdown is intended or expected. > > Indeed, this makes the speed situation much better on Emacs 24.0.97. I can now confirm that loading CC-Mode 5.32.3 into Emacs 23.4 causes the identical speed issues that I was seeing with Emacs 24.0.97, so this is a performance issue in the latest CC-Mode, not a bug in Emacs 24 or with Mac-Port Emacs. To the CC-Mode maintainers: is there a way to disable the slower, "more correct" mode in the latest CC-Mode, and go back to the entirely sufficient (for me) mode of previous versions? Thanks, John