all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Alan Mackenzie <acm@muc.de>
To: David De La Harpe Golden <david@harpegolden.net>
Cc: Stefan Monnier <monnier@iro.umontreal.ca>, emacs-devel@gnu.org
Subject: Re: Emacs 23.0 is much slower starting than Emacs 22.3
Date: Wed, 22 Oct 2008 21:12:02 +0000	[thread overview]
Message-ID: <20081022211202.GA1037@muc.de> (raw)
In-Reply-To: <48FF58FB.6000302@harpegolden.net>

Hi, David!

On Wed, Oct 22, 2008 at 05:46:51PM +0100, David De La Harpe Golden wrote:
> Alan Mackenzie wrote:

> >>>I have an extremely medium speed processor (Athlon 1.2 GHz) and, at
> >>>the moment, a well-padded .emacs.desktop.

> >>>Starting Emacs 22.3 takes 23 seconds.
> >>>Starting Emacs 23.0 takes 38 seconds.


> >The above times were on tty's.  Trying it on X-Windows, there was no
> >difference (or, at most, 1 or 2 seconds longer).

> >>        Stefan


> FWIW, I'd find your emacs22 time pretty unacceptable, never mind the
> emacs23 one, even on a 1.2GHz-class machine. Are a lot of people
> putting up with that sort of start time? Ouch.

Hey, don't be so hard on my poor little PC!  It's getting on a bit[*].
There's 83 files being loaded by desktop, with a total of 7801019 bytes.

emacs-22 -Q starts in ~0.4 seconds.
emacs-23 -Q starts in ~0.7 seconds.

[*] For non-native English speakers: "he's getting on a bit" is a
euphemism for "he's too old (for something)".

> Of course it could be an emacs bug triggered on your system and not
> mine, but I kinda wonder: is it only emacs or is everything slow? Is it
> only slow to start or slow to update the display and whatnot?  Makes me
> think you might have a local system issue causing an I/O bottleneck, is
> all, maybe no DMA on your HDD, or your system's low on RAM and is
> already swapping or something.

It's a 7 year old PC, with a 7 yo HDD, but with plenty of RAM (768 Mb).
You really think 23 seconds is slow, loading emacs + 83 files?

> On my admittedly higher-end newish multicore (but each core is only ~ 
> 2GHz and emacs isn't parallelized...) gnu+linux system, emacs23 takes 1 
> to 2 seconds to start, .....

How many file does your desktop load, and what's their total size?

> , ..... including the ridiculous happy-dance across the screen the
> initial X11 frame does (known-bug afaik), and I thought it was getting
> a bit sluggish (whenever an app start time is > 1 sec I start to notice
> and get irritated), but I put it down to the happy-dancing.   With a
> .emacs.desktop of 100 random .el files from the emacs source tree,
> start time was 2 to 3 seconds.

OK, 100 random files.el.  How big were they?

> Iceweasel takes 2 to 3 secs and oowriter (probably the bloatiest thing I 
> have installed)  11 secs ?

Firefox 1.0.4 takes ~2.5 secs to load (but it was probably in the disk
cache when I timed it).

-- 
Alan Mackenzie (Nuremberg, Germany).




  reply	other threads:[~2008-10-22 21:12 UTC|newest]

Thread overview: 54+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-10-22  9:11 Emacs 23.0 is much slower starting than Emacs 22.3 Alan Mackenzie
2008-10-22 13:23 ` Stefan Monnier
2008-10-22 13:55   ` John covici
2008-10-22 15:14   ` Alan Mackenzie
2008-10-22 16:46     ` David De La Harpe Golden
2008-10-22 21:12       ` Alan Mackenzie [this message]
2008-10-22 21:19         ` Eli Zaretskii
2008-10-23  9:21           ` Alan Mackenzie
2008-10-23 21:53             ` Eli Zaretskii
2008-10-23  6:53         ` David De La Harpe Golden
2008-10-23  9:09           ` Alan Mackenzie
2008-10-23 16:57             ` David De La Harpe Golden
2008-10-23 21:52               ` Eli Zaretskii
2008-10-23 22:33                 ` Lennart Borgman
2008-10-24  9:26                   ` Eli Zaretskii
2008-10-23 22:47                 ` David De La Harpe Golden
2008-10-23 23:12                   ` Lennart Borgman
2008-10-23 23:54                     ` Lennart Borgman
2008-10-24  9:51                       ` Eli Zaretskii
2008-10-24 13:58                         ` David De La Harpe Golden
2008-10-24 15:44                         ` Lennart Borgman
2008-10-24 16:24                           ` Chong Yidong
2008-10-24 16:48                             ` Eli Zaretskii
2008-10-24 16:45                           ` David De La Harpe Golden
2008-10-24 16:53                             ` Eli Zaretskii
2008-10-25  2:01                             ` Richard M. Stallman
2008-10-25  3:38                               ` David De La Harpe Golden
2008-10-24  0:13                     ` David De La Harpe Golden
2008-10-24  0:59                       ` Lennart Borgman
2008-10-24  1:58                         ` David De La Harpe Golden
2008-10-24  1:44                       ` David De La Harpe Golden
2008-10-24  9:57                         ` Eli Zaretskii
2008-10-24 15:00                           ` David De La Harpe Golden
2008-10-24 11:21                         ` Alan Mackenzie
2008-10-24 14:32                           ` David De La Harpe Golden
2008-10-24 19:28                             ` Alan Mackenzie
2008-10-24 19:35                               ` David De La Harpe Golden
2008-10-24  4:13                       ` Stefan Monnier
2008-10-24 15:19                         ` David De La Harpe Golden
2008-10-24 18:42                           ` Stefan Monnier
2008-10-24 19:36                             ` David De La Harpe Golden
2008-10-24 23:44                             ` David De La Harpe Golden
2008-10-25 15:19                               ` Stefan Monnier
2008-10-25 17:02                                 ` David De La Harpe Golden
2008-10-24  9:52                       ` Eli Zaretskii
2008-10-24  9:35                     ` Eli Zaretskii
2008-10-24  9:30                   ` Eli Zaretskii
2008-10-23  1:29       ` Miles Bader
2008-10-23  9:06         ` Alan Mackenzie
2008-10-22 18:26 ` Eli Zaretskii
2008-10-22 21:40   ` Alan Mackenzie
2008-10-22 22:09     ` Eli Zaretskii
2008-10-22 21:02 ` Richard M. Stallman
2008-10-24 11:59   ` Emacs 23.0 is much slower than Emacs 22.3. Maybe it's the garbage collector Alan Mackenzie

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20081022211202.GA1037@muc.de \
    --to=acm@muc.de \
    --cc=david@harpegolden.net \
    --cc=emacs-devel@gnu.org \
    --cc=monnier@iro.umontreal.ca \
    /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 external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.