all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: York Zhao <gtdplatform@gmail.com>
To: emacs-orgmode <emacs-orgmode@gnu.org>
Subject: Extremely slow org-table operations
Date: Tue, 28 Oct 2014 23:00:40 -0400	[thread overview]
Message-ID: <CAD3zm23OLy-7Fds4ED+m3ok5cUCauPS2A8xOaDxC54jxSVgi+A@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 1989 bytes --]

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 #2: Test.zip --]
[-- Type: application/zip, Size: 29532 bytes --]

             reply	other threads:[~2014-10-29  3:00 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-10-29  3:00 York Zhao [this message]
2014-10-29  9:43 ` Extremely slow org-table operations Nicolas Goaziou
2014-10-29 23:22   ` York Zhao
2014-10-29 23:40     ` Charles Millar
2014-10-30  6:47       ` Michael Brand
2014-10-30 12:39         ` Charles Millar
2014-10-30 15:13           ` Fwd: " Charles Millar
2014-10-30 19:19           ` Charles Millar
2014-10-30 15:54         ` Nicolas Goaziou
2014-10-30 20:07         ` Charles Millar
2014-10-30 14:38       ` York Zhao
2014-10-31 19:12         ` Charles Millar
2014-11-08 15:25           ` York Zhao
2014-11-08 20:34             ` Nicolas Goaziou

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAD3zm23OLy-7Fds4ED+m3ok5cUCauPS2A8xOaDxC54jxSVgi+A@mail.gmail.com \
    --to=gtdplatform@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.