all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Dan Jacobson <jidanni@dman.ddts.net>
Subject: take this famous emacs benchmark test
Date: Wed, 16 Apr 2003 05:05:12 +0800	[thread overview]
Message-ID: <87llybbhfb.fsf@jidanni.org> (raw)

Fellas, take my nifto emacs benchmark test, which I pegged together
just moments ago without proper computer training...

    j=;for i in '' -nw -q --no-site-file;do j=$i\ $j;c="time emacs $j -f
    kill-emacs";echo -e \\n\$ $c;$c;done

...to see just how much slower your emacs plods along due to your
and your "Linux distribution" crud-encrusting it. Just cut and paste it
into your shell to-day! Results here at Nerdsburg Laboratories:

$ time emacs -f kill-emacs
0.97user 0.13system 0:01.30elapsed 84%CPU (0avgtext+0avgdata 0maxresident)k
0inputs+0outputs (1632major+952minor)pagefaults 0swaps

$ time emacs -nw -f kill-emacs
0.80user 0.12system 0:00.93elapsed 98%CPU (0avgtext+0avgdata 0maxresident)k
0inputs+0outputs (1305major+823minor)pagefaults 0swaps

$ time emacs -q -nw -f kill-emacs
0.44user 0.07system 0:00.53elapsed 96%CPU (0avgtext+0avgdata 0maxresident)k
0inputs+0outputs (1296major+675minor)pagefaults 0swaps

$ time emacs --no-site-file -q -nw -f kill-emacs
0.07user 0.03system 0:00.09elapsed 105%CPU (0avgtext+0avgdata 0maxresident)k
0inputs+0outputs (1056major+311minor)pagefaults 0swaps

Wow, 105% CPU. I.e. with all the junk stripped, it runs faster than
the machine, eh?  Bet that's how Stallman runs it, yup, raw. Like them
defaults, man.  Naw... [Here we go again] Say, has anybody seen his
.emacs file?  Do a wc(1) on it while he's not looking.  Better yet,
post it(s URL) so we can examine it.  I wonder what shape it is in.

Back to the results above. I won't go over the details [because I have
um no idea what...] but it looks like the 0.97 0.80 ... does the
talking. Here's an additional result we should add, 

$ /usr/bin/time emacs --no-site-file -q -f kill-emacs
0.23user 0.02system 0:00.43elapsed 57%CPU (0avgtext+0avgdata 0maxresident)k
0inputs+0outputs (1412major+599minor)pagefaults 0swaps
-- 
http://jidanni.org/ Taiwan(04)25854780

             reply	other threads:[~2003-04-15 21:05 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-04-15 21:05 Dan Jacobson [this message]
2003-04-16 10:58 ` take this famous emacs benchmark test Thien-Thi Nguyen
     [not found] <mailman.4683.1050451356.21513.bug-gnu-emacs@gnu.org>
2003-04-16  7:47 ` Lute Kamstra
2003-04-16 20:38   ` Dan Jacobson
2003-04-16 22:53 ` Thomas A. Horsley

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=87llybbhfb.fsf@jidanni.org \
    --to=jidanni@dman.ddts.net \
    /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.