emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[O] Extremely slow org-table operations


From: York Zhao
Subject: [O] Extremely slow org-table operations
Date: Tue, 28 Oct 2014 23:00:40 -0400

Hi list,

A few months ago I tried Emacs 24.4 and was disappointed because almost all of
the org-table operations became AT LEAST ten times slower. Because recently
Emacs 24.4 gets officially released, I finally switched over. However, the
problems I had several months ago were still there, i.e., in a big file,
org-table operations are at least ten times slower. I tried profiling it but
didn't help much. So I decided to report the issue here.

I've created an ECM, please find attached the zip file which includes four
files:

1. test-org: a bash simple script file having a single line:

   emacs -Q --load test.el

2. test.el, with the following contents:
   (find-file "test.org")
   (show-all)
   (goto-char (point-max))
   (forward-line -1)
   (profiler-start 'cpu)
   (org-ctrl-c-ctrl-c)
   (profiler-report)
   (profiler-stop)

3. test.org: the org-mode file to reproduce the issue.

4. profiler-report: the "Profiler Report" file
   This file was created by pressing "C-x C-w" (as described in the Elisp Info)
   from a profile report buffer. However, I have no idea how to reproduce the
   "Profiler Report Buffer" from this file. I've tried M-x profiler-report-mode
   but it didn't work. If anyone knows how, please let me know and I would
   appreciate it.

In summery, the file "test.org" has more than 5000 org-table tables, each table
has a formula. If you move the point to the tables not too far away from the
beginning of the buffer and press "C-c C-c" on the formula line, you will notice
that the speed is very fast which is great. However, if you move the point far
away enough from the beginning of the buffer (move to the end for example), you
will find that "C-c C-c" on the formula line becomes much slower.

Many other operations are also very slow. However, because I haven't been able
to create the ECMs for those operations yet, lets focus on this one first.

Please let me know what else I can do to help addressing this issue.


Thanks in advance,

York

Attachment: Test.zip
Description: Zip archive


reply via email to

[Prev in Thread] Current Thread [Next in Thread]