all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* take this famous emacs benchmark test
@ 2003-04-15 21:05 Dan Jacobson
  2003-04-16 10:58 ` Thien-Thi Nguyen
  0 siblings, 1 reply; 5+ messages in thread
From: Dan Jacobson @ 2003-04-15 21:05 UTC (permalink / 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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2003-04-16 22:53 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <mailman.4683.1050451356.21513.bug-gnu-emacs@gnu.org>
2003-04-16  7:47 ` take this famous emacs benchmark test Lute Kamstra
2003-04-16 20:38   ` Dan Jacobson
2003-04-16 22:53 ` Thomas A. Horsley
2003-04-15 21:05 Dan Jacobson
2003-04-16 10:58 ` Thien-Thi Nguyen

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.