[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] Bug: Org Table Performance Issue/Regression
From: |
Nicolas Goaziou |
Subject: |
Re: [O] Bug: Org Table Performance Issue/Regression |
Date: |
Tue, 26 Jun 2018 11:58:53 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) |
Hello,
Tim Baumgard <address@hidden> 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