From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: poppyer Newsgroups: gmane.emacs.bugs Subject: bug#2184: 23.0.60; performance issue since CVS 2009-01-30 Date: Wed, 04 Feb 2009 21:53:25 +0800 Message-ID: References: Reply-To: poppyer , 2184@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1233759011 25333 80.91.229.12 (4 Feb 2009 14:50:11 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 4 Feb 2009 14:50:11 +0000 (UTC) Cc: 2184@emacsbugs.donarmstrong.com To: Adrian Robert Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Feb 04 15:51:25 2009 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1LUj5r-0008MD-VM for geb-bug-gnu-emacs@m.gmane.org; Wed, 04 Feb 2009 15:51:12 +0100 Original-Received: from localhost ([127.0.0.1]:50417 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LUj4Z-0000Pt-2A for geb-bug-gnu-emacs@m.gmane.org; Wed, 04 Feb 2009 09:49:51 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LUiLn-0001Fz-Na for bug-gnu-emacs@gnu.org; Wed, 04 Feb 2009 09:03:35 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LUiLn-0001FT-3t for bug-gnu-emacs@gnu.org; Wed, 04 Feb 2009 09:03:35 -0500 Original-Received: from [199.232.76.173] (port=49856 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LUiLm-0001FC-LG for bug-gnu-emacs@gnu.org; Wed, 04 Feb 2009 09:03:34 -0500 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:49493) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LUiLl-0002gu-S9 for bug-gnu-emacs@gnu.org; Wed, 04 Feb 2009 09:03:34 -0500 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n14E3V2P030739; Wed, 4 Feb 2009 06:03:32 -0800 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id n14E038w029606; Wed, 4 Feb 2009 06:00:03 -0800 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: poppyer Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs , owner@emacsbugs.donarmstrong.com Resent-Date: Wed, 04 Feb 2009 14:00:03 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: followup 2184 X-Emacs-PR-Package: emacs,ns X-Emacs-PR-Keywords: Original-Received: via spool by 2184-submit@emacsbugs.donarmstrong.com id=B2184.123375562128332 (code B ref 2184); Wed, 04 Feb 2009 14:00:03 +0000 Original-Received: (at 2184) by emacsbugs.donarmstrong.com; 4 Feb 2009 13:53:41 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from an-out-0708.google.com (an-out-0708.google.com [209.85.132.241]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n14Drbow028326 for <2184@emacsbugs.donarmstrong.com>; Wed, 4 Feb 2009 05:53:39 -0800 Original-Received: by an-out-0708.google.com with SMTP id b38so1072615ana.31 for <2184@emacsbugs.donarmstrong.com>; Wed, 04 Feb 2009 05:53:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:cc:subject:references :date:in-reply-to:message-id:user-agent:mime-version:content-type; bh=9mu2o4pJoqBfMKD/hVkOo2OffiZNR10aFO4s2yOKwBw=; b=jlpHPzUaCJo8P6gepHoibqy69CX2P45lWoVKO0cj8lQ+cnXqWatlN3Ya5qqxYVswX5 L2wP4Bq895oUy6zcSK9HWFmVqp+2nIB/Lj5sA4S35WLmUPp6CZZVN0KA8jPOP0Dt09QU fxHK7J8qyWwSIAdO+A/ekaH/FGaN4fqDUb5mo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type; b=AMkm6PZhXPVC5+48zaLYBRMVoT00a9Si38y4Axsd6hUHNGhLhYh52EYy6AmyjJwB2V Um/IoTkEB7aXxi/HeuMQiSYsK7+lRJSvwHW5LMZQ/72fWZD5df89WMfHlA6sjdhOxb2m OzizM8mKNl9VveohaZfdEXt1V36ezX4egKBv4= Original-Received: by 10.65.40.16 with SMTP id s16mr3932131qbj.102.1233755617132; Wed, 04 Feb 2009 05:53:37 -0800 (PST) Original-Received: from nusnet-97-126.dynip.nus.edu.sg.yourcompany.com ([72.14.241.160]) by mx.google.com with ESMTPS id 25sm2509411qbw.35.2009.02.04.05.53.33 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 04 Feb 2009 05:53:36 -0800 (PST) In-Reply-To: (Adrian Robert's message of "Wed, 4 Feb 2009 13:43:14 +0200") User-Agent: Emacs Gnus X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Resent-Date: Wed, 04 Feb 2009 09:03:35 -0500 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:24934 Archived-At: Adrian Robert writes: > I have not noticed performance problems here but there have been > significant changes from 01/28 through today 02/04 and it is possible > there are problems under some usage conditions. First, could you > test again using current CVS (including 02/04 changes)? Also, is > there an easy way to obtain the 100% CPU usage cases in a mode that > comes with emacs? What OS X version are you on? Yes, today 02-04 is the same, and I am using OSX 10.5.6. I am sorry but I am unable to reproduce it in other simple setup. However, we seem to trace down that the issue is about regular expression matching, as also mention in: http://lists.gnu.org/archive/html/emacs-devel/2009-02/msg00012.html, there are some clue about function "re-search-forward" I profile in my w3m case, with exactly the same procedure here comes: Function Name Call Count Elapsed Time Average Time ====================== with 2009-02-04 Emacs executable ======================= regexp-opt-group 2668 2.5593199999 0.0009592653 re-search-forward 730 1.4294740000 0.0019581835 run-hooks 38 1.3881749999 0.0365309210 regexp-opt 162 0.8015100000 0.0049475925 regexp-quote 1650 0.0171659999 1.040...e-05 remove-text-properties 506 0.0074000000 1.462...e-05 ====================== with 2009-01-19 Emacs executable ======================= regexp-opt-group 2668 0.4568619999 0.0001712376 regexp-opt 162 0.1268280000 0.0007828888 re-search-forward 730 0.0308000000 4.219...e-05 run-hooks 37 0.029099 0.0007864594 run-at-time 41 0.0009150000 2.231...e-05 regexp-quote 1650 0.0008870000 5.375...e-07 remove-text-properties 506 0.0007210000 1.424...e-06 Is there any specific changes in regular expression part in 2009-01-30 (not about lisp but the Emacs executable)? > > thanks.