texmacs-dev
[Top][All Lists]
Advanced

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

[Texmacs-dev] boot time benchmark


From: david
Subject: [Texmacs-dev] boot time benchmark
Date: Wed, 5 Mar 2003 19:20:16 +0100
User-agent: Mutt/1.4i

On Wed, Mar 05, 2003 at 09:32:23AM +0100, Joris van der Hoeven wrote:
> 
> > On Monday March 03 2003 06:34, Joris van der Hoeven wrote:
> > > I have continued the reorganization of the Guile/Scheme interface.
> > > Unfortunately, we have to pay a big price for that: the boot time
> > > explodes. On a 1GHz PC, I noticed an increase of about 3.5 sec (so 17.5
> > > sec on a 200MHz PC?). This is clearly unacceptable, so we will have to
> > > work hard to reduce this to a more acceptable increase (1 sec would be
> > > reasonable, since almost all menu/keyboard logic has been transferred).

Never make any decision related to performance problem w/o careful benchmarking.

That was the eleventh commandment Moses took from the mountain, but at
the time nobody understood it, so it has been forgotten.




iBook 600Mhz / 628MB RAM
g++ 2.95.4 (Debian prerelease)

First run is done after removal of ~/.TeXmacs.

Second run is done immediately after first run to take advantage of
file caching.

Setup run is done immediatle after second run. There, TeXmacs is run
with the -S command line option.

The runs are done by starting texmacs from the command line, waiting
for the window to be displayed, and manually quitting with C-x C-c.


TeXmacs 1.0.1
guile | First run        | Second run
------+------------------+-----------------
1.3.4 | user    5.970s   | user    5.799s   
      | sys     2.180s   | sys     2.530s
------+------------------+------------------
1.6.3 | user    6.010s   | user    7.433s
      | sys     2.000s   | sys     2.350s

TeXmacs 1.0.1.7
guile | First run        | Second run     | Setup run
------+------------------+----------------+-------------
1.3.4 | user    9.830s   | user    6.000s | user  9.500
      | sys     3.780s   | sys     1.470s | sys   2.650
------+------------------+----------------+-------------
1.6.3 | user    8.890s   | user    5.090s | user  8.930
      | sys     2.840s   | sys     1.530s | sys   2.640


Okay guile 1.6.3 is clearly a bit faster to load than guile 1.3.4.

On the other hand, recent texmacs releases are not slower than
previous release, excepted for the first run.

I would guess that is attributable to the cached setup feature. For
people who do not know about it, recent version of TeXmacs requires
the user to start it with the -S option to detect new CAS.




reply via email to

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