From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Lars Brinkhoff Newsgroups: gmane.emacs.devel Subject: Re: threaded code in bytecode.c Date: 05 May 2004 07:40:53 +0200 Organization: nocrew Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <85ad0n5t3u.fsf@junk.nocrew.org> References: <20040503011011.GA16378@people.kldp.org> <87wu3tknlo.fsf@jaylin.tmax.co.kr> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1083735717 27374 80.91.224.253 (5 May 2004 05:41:57 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 5 May 2004 05:41:57 +0000 (UTC) Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Wed May 05 07:41:51 2004 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1BLFAF-0005HC-00 for ; Wed, 05 May 2004 07:41:51 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1BLFAF-0002E3-00 for ; Wed, 05 May 2004 07:41:51 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.30) id 1BLFA0-00042W-KG for emacs-devel@quimby.gnus.org; Wed, 05 May 2004 01:41:36 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30) id 1BLF9u-00041L-Qj for emacs-devel@gnu.org; Wed, 05 May 2004 01:41:30 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30) id 1BLF9O-0003oR-BL for emacs-devel@gnu.org; Wed, 05 May 2004 01:41:29 -0400 Original-Received: from [80.91.224.249] (helo=main.gmane.org) by monty-python.gnu.org with esmtp (Exim 4.30) id 1BLF9N-0003nw-M9 for emacs-devel@gnu.org; Wed, 05 May 2004 01:40:57 -0400 Original-Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1BLF9N-0007Pa-00 for ; Wed, 05 May 2004 07:40:57 +0200 Original-Received: from junk.nocrew.org ([213.242.147.30]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 05 May 2004 07:40:56 +0200 Original-Received: from lars by junk.nocrew.org with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 05 May 2004 07:40:56 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-To: emacs-devel@gnu.org Original-Lines: 22 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: junk.nocrew.org User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:22787 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:22787 Richard Stallman writes: > * Richard Stallman at 2004-05-03 18:20-0400 > | the main possible benefit of this change is a speedup. How > | much speedup do you observe from it? It would be good to > | compare various GCC optimization levels as well as the two > | versions of the code. > well, the fact is i don't know how to measure this speedup? > Could you suggest some agreeable method? > You can run some computation-bound Lisp program in both versions of > Emacs and see how long it takes. Just call (current-time) before and > after. If the run time is too short to measure accurately, run the > program 100 times. The "Gabriel benchmarks" is a set of Lisp programs commonly used for this purpose. I don't think it would be too hard to port some of them to Emacs Lisp. ftp://ftp.cs.umass.edu/pub/eksl/gabriel/ -- Lars Brinkhoff, Services for Unix, Linux, GCC, HTTP Brinkhoff Consulting http://www.brinkhoff.se/