From: Eric S Fraga <e.fraga@ucl.ac.uk>
To: Emacs Org mode mailing list <emacs-orgmode@gnu.org>
Subject: Re: working with tables can be quite painful...
Date: Mon, 19 Sep 2016 09:33:24 +0100 [thread overview]
Message-ID: <87zin4z3u3.fsf@ucl.ac.uk> (raw)
In-Reply-To: <9ae6591e2754413885a96e19c2455472@HE1PR01MB1898.eurprd01.prod.exchangelabs.com> (Nicolas Goaziou's message of "Sat, 17 Sep 2016 08:48:29 +0000")
On Saturday, 17 Sep 2016 at 08:48, Nicolas Goaziou wrote:
[...]
> Could you send a profiler report so that I can get a better glimpse on
> what part of `org-table-align' is lagging?
Hi Nicolas,
this morning, working on the same table is much less painful. I've run
the profile and did some movements and changes to the table and here is
the output from the profiler (I can send you the full report if you
wish).
I know that if I narrow the buffer to just the section (headline and
contents) that contains the table, the performance is
better. Anecdotally, it would seem that the performance degrades over
time so I wonder if there is a cache issue?
My gut feeling is that it is related to fontification as well.
--8<---------------cut here---------------start------------->8---
- command-execute 2420 53%
- call-interactively 2420 53%
- funcall-interactively 2325 51%
- pabbrev-expand-maybe 1244 27%
- if 1244 27%
- pabbrev-expand-maybe-full 1244 27%
- cond 1244 27%
- pabbrev-call-previous-tab-binding 1205 26%
- let 1205 26%
- if 1205 26%
- let 1205 26%
- if 1205 26%
- funcall 1205 26%
- org-cycle 1205 26%
- call-interactively 1198 26%
- funcall-interactively 1198 26%
- org-table-next-field 1198 26%
- org-table-align 1122 24%
+ font-lock-fontify-region 258 5%
+ mapcar 219 4%
+ org-indent-refresh-maybe 152 3%
apply 45 0%
org-element--cache-before-change 32 0%
org-element--cache-after-change 32 0%
+ jit-lock-after-change 16 0%
org-table-begin 9 0%
+ org-table-maybe-eval-formula 4 0%
org-table-end 4 0%
--8<---------------cut here---------------end--------------->8---
> An ECM would help too.
I cannot send the actual table I am working on as it relates to grades
for students. I will try to create a similar table with random entries.
thanks,
eric
--
: Eric S Fraga (0xFFFCF67D), Emacs 25.0.94.1, Org release_8.3.5-1070-g190476
next prev parent reply other threads:[~2016-09-19 11:07 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-09-16 14:53 working with tables can be quite painful Eric S Fraga
2016-09-17 8:48 ` Nicolas Goaziou
2016-09-17 15:22 ` Adam Porter
2016-09-17 15:37 ` Michael Brand
[not found] ` <9ae6591e2754413885a96e19c2455472@HE1PR01MB1898.eurprd01.prod.exchangelabs.com>
2016-09-19 8:33 ` Eric S Fraga [this message]
2016-09-19 12:58 ` Michael Welle
[not found] ` <df2f3c4ad6a34890ad82cd1d0d557003@HE1PR01MB1898.eurprd01.prod.exchangelabs.com>
2016-09-19 14:23 ` Eric S Fraga
2016-09-19 17:54 ` Michael Welle
2016-09-22 19:52 ` Nicolas Goaziou
[not found] ` <61c781eee3b64613a40a39b95bc54e63@HE1PR01MB1898.eurprd01.prod.exchangelabs.com>
2016-09-19 8:36 ` Eric S Fraga
2016-09-20 8:54 ` Jacob Nielsen
[not found] ` <b05decb709ba4f64932ba34835b08056@HE1PR01MB1898.eurprd01.prod.exchangelabs.com>
2016-09-20 9:03 ` Eric S Fraga
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
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87zin4z3u3.fsf@ucl.ac.uk \
--to=e.fraga@ucl.ac.uk \
--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 public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).