From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Dan Jacobson Newsgroups: gmane.emacs.bugs Subject: take this famous emacs benchmark test Date: Wed, 16 Apr 2003 05:05:12 +0800 Sender: bug-gnu-emacs-bounces+gnu-bug-gnu-emacs=m.gmane.org@gnu.org Message-ID: <87llybbhfb.fsf@jidanni.org> Reply-To: Dan Jacobson NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1050451361 22996 80.91.224.249 (16 Apr 2003 00:02:41 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 16 Apr 2003 00:02:41 +0000 (UTC) Original-X-From: bug-gnu-emacs-bounces+gnu-bug-gnu-emacs=m.gmane.org@gnu.org Wed Apr 16 02:02:39 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 195aNd-0005yI-00 for ; Wed, 16 Apr 2003 02:02:25 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 195aNu-0002xI-04 for gnu-bug-gnu-emacs@m.gmane.org; Tue, 15 Apr 2003 20:02:42 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 195aNe-0002eC-00 for bug-gnu-emacs@gnu.org; Tue, 15 Apr 2003 20:02:26 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 195aNY-0002Kq-00 for bug-gnu-emacs@gnu.org; Tue, 15 Apr 2003 20:02:21 -0400 Original-Received: from main.gmane.org ([80.91.224.249]) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 195aNS-0001sk-00 for bug-gnu-emacs@gnu.org; Tue, 15 Apr 2003 20:02:14 -0400 Original-Received: from root by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 195aLh-0005r0-00 for ; Wed, 16 Apr 2003 02:00:25 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-To: bug-gnu-emacs@gnu.org Original-Received: from news by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 195aC9-0005Cy-00 for ; Wed, 16 Apr 2003 01:50:33 +0200 Original-Lines: 41 Original-X-Complaints-To: usenet@main.gmane.org User-Agent: Gnus/5.090008 (Oort Gnus v0.08) Emacs/21.2 (i386-pc-linux-gnu) X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Bug reports for GNU Emacs, the Swiss army knife of text editors List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: bug-gnu-emacs-bounces+gnu-bug-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.bugs:4804 X-Report-Spam: http://spam.gmane.org/gmane.emacs.bugs:4804 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