[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
take this famous emacs benchmark test
From: |
Dan Jacobson |
Subject: |
take this famous emacs benchmark test |
Date: |
Wed, 16 Apr 2003 05:05:12 +0800 |
User-agent: |
Gnus/5.090008 (Oort Gnus v0.08) Emacs/21.2 (i386-pc-linux-gnu) |
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
- take this famous emacs benchmark test,
Dan Jacobson <=