From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Bastien Newsgroups: gmane.emacs.devel Subject: Re: Slow/poor responsiveness in org files Date: Thu, 18 Aug 2011 09:49:10 +0200 Message-ID: <87fwkzcg7d.fsf@gnu.org> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1313653722 7987 80.91.229.12 (18 Aug 2011 07:48:42 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 18 Aug 2011 07:48:42 +0000 (UTC) Cc: Emacs developers To: Tim Cross Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Aug 18 09:48:38 2011 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QtxLB-0006zC-4i for ged-emacs-devel@m.gmane.org; Thu, 18 Aug 2011 09:48:37 +0200 Original-Received: from localhost ([::1]:45010 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QtxL9-0005Yo-Vq for ged-emacs-devel@m.gmane.org; Thu, 18 Aug 2011 03:48:35 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:40505) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QtxL7-0005TG-AS for emacs-devel@gnu.org; Thu, 18 Aug 2011 03:48:34 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QtxL6-0007AF-5o for emacs-devel@gnu.org; Thu, 18 Aug 2011 03:48:33 -0400 Original-Received: from mail-wy0-f169.google.com ([74.125.82.169]:42994) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QtxL5-0007A5-Vj for emacs-devel@gnu.org; Thu, 18 Aug 2011 03:48:32 -0400 Original-Received: by wyi11 with SMTP id 11so1414789wyi.0 for ; Thu, 18 Aug 2011 00:48:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=sender:from:to:cc:subject:in-reply-to:references:user-agent:date :message-id:mime-version:content-type; bh=juD0iFQWwiV+lFsiF+cLHUg8nKF8xAzTJ9P7GtU79Xc=; b=HmToz2zqNzVH93UUFCwllOGQwmxEYQQYYD7H48Wzl0CpUZvNXXLfiB56uzATzD8lnr QX+6VLUxt4pLcSUo/vYB/vKvh+LWFQdeb8qh9QWD22awYWdX1O+Z1HbP5GiFDA+0xOfK Snu4RANP80z8LVJbkiDk6lOYDO+4YBkKFylyE= Original-Received: by 10.216.59.13 with SMTP id r13mr4753869wec.105.1313653710861; Thu, 18 Aug 2011 00:48:30 -0700 (PDT) Original-Received: from myhost.localdomain (95.152.71.86.rev.sfr.net [86.71.152.95]) by mx.google.com with ESMTPS id et16sm1525750wbb.53.2011.08.18.00.48.29 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 18 Aug 2011 00:48:30 -0700 (PDT) Original-Received: by myhost.localdomain (Postfix, from userid 1000) id 9EC18604B; Thu, 18 Aug 2011 09:49:10 +0200 (CEST) In-Reply-To: (Tim Cross's message of "Thu, 18 Aug 2011 15:56:04 +1000") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 74.125.82.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:143399 Archived-At: Hi Tim, Tim Cross writes: > About a week or so ago, I updated emacs from bzr and saw that org 7.7 > had been merged in. Since then, I have also noticed a distinct delay > when performing various editing operations within org files. For > example, killing a line wiht C-k in an org mode buffer is taking about > 4 seconds! This might come either from Org and/or from Emacs. > I updated emacs and tried again with emacs -Q and got the same result > > My version is 24.0.50 bzr relno 105475 > > Has anyone else seen this? Yes. > What would be the best way to debug this sort of issue, emacs > profiler? Four tests would be useful: - Emacs 23 + Org 7.4 - Emacs 23 + Org 7.7 - Emacs 24 (from trunk) + Org 7.4 - Emacs 24 (from trunk) + Org 7.7 For each case, M-x elp-instrument-package RET org-mode RET to see if there is any particular function that takes significantly more time. I'm busy fixing small bugs in Org 7.7 but fixing such slowniness is high priority and such tests would really help me *a lot*. Thanks in advance! -- Bastien