From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric S Fraga Subject: Re: another example of org being slow, with some analysis Date: Fri, 19 Jun 2015 08:51:46 +0100 Message-ID: <87wpz016gd.fsf@ucl.ac.uk> References: <87ioalhtfa.fsf@delle7240.chemeng.ucl.ac.uk> <87vbekc1iy.fsf@alphaville.usersys.redhat.com> <877fr0w78d.fsf@gelnhausen.dvs.informatik.tu-darmstadt.de> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:50772) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z5r5i-00007A-ED for emacs-orgmode@gnu.org; Fri, 19 Jun 2015 03:51:59 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z5r5e-0006C2-93 for emacs-orgmode@gnu.org; Fri, 19 Jun 2015 03:51:58 -0400 Received: from mail-db3on0109.outbound.protection.outlook.com ([157.55.234.109]:20758 helo=emea01-db3-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z5r5d-00069W-Oa for emacs-orgmode@gnu.org; Fri, 19 Jun 2015 03:51:53 -0400 In-Reply-To: <877fr0w78d.fsf@gelnhausen.dvs.informatik.tu-darmstadt.de> (Daniel Bausch's message of "Fri, 19 Jun 2015 08:19:14 +0200") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Daniel Bausch Cc: Nick Dokos , emacs-orgmode@gnu.org On Friday, 19 Jun 2015 at 08:19, Daniel Bausch wrote: [...] > Line 6000 is indeed quite "lame". I have similar problems like Eric. A > table recalculation at line 43868 takes about a minute at my quite fast > machine. I also tracked that down to org-current-line. One interesting > detail is that this depends on the buffer encoding. With ASCII the > recalculation takes less than a second, with utf-8 about a minute. Adding some data: my table is at line 8438 in the buffer but character position 398345 (I have very long lines as I use visual-line-mode in org exclusively with org-indent). I do use utf-8 encoding. I have just tried updating the table on a different laptop (i7-2760, 8 cores, 8 GB RAM, Ubuntu) and it was very fast. The two laptops are running different versions of emacs (tracking latest emacs developments on Ubuntu and Debian testing lead to different versions unfortunately) so my gut feeling is that there is an emacs issue here and possibly one related to utf-8 as Daniel suggests. I'll try to do more instrumenting on my other laptop when I get a chance. thanks all, eric -- : Eric S Fraga (0xFFFCF67D), Emacs 25.0.50.1, Org release_8.3beta-1147-g0e5069.dirty