emacs-devel
[Top][All Lists]
Advanced

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

Re: Slow generation of Org manual


From: Eli Zaretskii
Subject: Re: Slow generation of Org manual
Date: Sat, 29 Jun 2024 19:25:31 +0300

> From: Ihor Radchenko <yantar92@posteo.net>
> Cc: emacs-devel@gnu.org
> Date: Sat, 29 Jun 2024 15:11:41 +0000
> 
> Eli Zaretskii <eliz@gnu.org> writes:
> 
> > The generation of the Org manual from org.org on the master branch is
> > again taking a long time.  On one system I use (which is relatively
> > slow), it takes a whopping 4.5 min.  On a much faster system it still
> > takes more than 20 sec.
> >
> > Can this be sped-up, please?
> 
> I do not think that it has anything to do with Org.
> I also observed slow generation of the manual on master, but it was a
> result of Org manual being generated _before_ Org mode is compiled.

That's not what I see here.  Org is already byte-compiled when the Org
manual is generated.  So this cannot be the reason.

> If I do
> 
> time (touch doc/misc/org.org && make)
> 
> _after_ full compilation, I am getting
> 
> real  0m10.850s
> user  0m10.548s
> sys   0m0.293s

I'm guessing this is on a fast machine, in an optimized build, and
probably also with native compilation, right?

> This is the usual time I saw in the earlier versions, after we bumped
> the gc-cons-threshold.

Which earlier versions?  Does that include Emacs 29?

Anyway, something has clearly changed, since it never took so long,
AFAIR.  Did the Org manual in the version that is now on the emacs-30
branch change significantly wrt what we had in Emacs 29?



reply via email to

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