emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nicolas Goaziou <mail@nicolasgoaziou.fr>
To: Tim Baumgard <timbaumgard@me.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Bug: Org Table Performance Issue/Regression
Date: Tue, 26 Jun 2018 11:58:53 +0200	[thread overview]
Message-ID: <87lgb1swbm.fsf@nicolasgoaziou.fr> (raw)
In-Reply-To: <B0B058F8-DF8E-4FD4-ADA0-312256298781@me.com> (Tim Baumgard's message of "Sun, 10 Jun 2018 14:04:08 -0500")

Hello,

Tim Baumgard <timbaumgard@me.com> writes:

> I recently updated Emacs from 25.3 (Org mode v. 8.2.10) to 26.1 (Org mode
> v. 9.1.9) and noticed a performance issue/regression in one of my Org files that
> contains a table that currently has nine columns, around 1,200 rows, and uses
> formulas. In 25.3, I could create a new row or use org-table-copy-down without
> issues. In 26.1, there’s a multi-second delay each time I try to do either of
> these things. As mentioned below, this issue also occurs in the latest commits
> to both Emacs and Org mode.
>
> I did some profiling and found that garbage-collect was being called quite a
> bit. I set gc-cons-threshold in both versions to a large value to effectively
> disable garbage collection and noticed two things: 1) it largely fixed the
> performance issues—though performance still wasn’t as good as it was in 25.3—and
> 2) Emacs/Org mode was using about four times as much memory as it did after
> creating a new row and doing calling org-table-copy-down three
> times. Specifically, Emacs 25.3 was using a little under 200 MB and Emacs 26.3
> was using a around 800 MB.

Could you send the result of your profiling (using both Elp and
profiler would be nice) on an uncompiled Org?

Thank you.

Regards,

-- 
Nicolas Goaziou

  reply	other threads:[~2018-06-26  9:59 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-06-10 19:04 Bug: Org Table Performance Issue/Regression Tim Baumgard
2018-06-26  9:58 ` Nicolas Goaziou [this message]
2018-07-16  2:47   ` Tim Baumgard
2018-09-03  7:59     ` Nicolas Goaziou
2018-11-02 18:02       ` Tim Baumgard

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=87lgb1swbm.fsf@nicolasgoaziou.fr \
    --to=mail@nicolasgoaziou.fr \
    --cc=emacs-orgmode@gnu.org \
    --cc=timbaumgard@me.com \
    /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).