From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Neil Jerram Newsgroups: gmane.lisp.guile.user Subject: Re: benchmarking framework Date: 20 Jul 2002 09:44:48 +0100 Sender: guile-user-admin@gnu.org Message-ID: <20011.9196590551$1027155109@news.gmane.org> References: NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1027155109 16339 127.0.0.1 (20 Jul 2002 08:51:49 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sat, 20 Jul 2002 08:51:49 +0000 (UTC) Cc: guile-devel@gnu.org, guile-user@gnu.org Return-path: Original-Received: from fencepost.gnu.org ([199.232.76.164]) by main.gmane.org with esmtp (Exim 3.33 #1 (Debian)) id 17Vpxs-0004FQ-00 for ; Sat, 20 Jul 2002 10:51:48 +0200 Original-Received: from localhost ([127.0.0.1] helo=fencepost.gnu.org) by fencepost.gnu.org with esmtp (Exim 3.35 #1 (Debian)) id 17VpxN-000868-00; Sat, 20 Jul 2002 04:51:17 -0400 Original-Received: from mail.uklinux.net ([80.84.72.21] helo=s1.uklinux.net) by fencepost.gnu.org with esmtp (Exim 3.35 #1 (Debian)) id 17Vpwr-00081G-00; Sat, 20 Jul 2002 04:50:45 -0400 Original-Received: from portalet.ossau.uklinux.net (ppp-0-154.lond-b-3.access.uk.tiscali.com [80.40.12.154]) (authenticated) by s1.uklinux.net (8.11.6/8.11.6) with ESMTP id g6K8ofI29443; Sat, 20 Jul 2002 09:50:41 +0100 Original-Received: from laruns.ossau.uklinux.net.ossau.uklinux.net (laruns.ossau.uklinux.net [192.168.1.3]) by portalet.ossau.uklinux.net (Postfix on SuSE Linux 7.2 (i386)) with ESMTP id BE16A1702; Sat, 20 Jul 2002 09:50:58 +0000 (GMT) Original-To: Dirk Herrmann In-Reply-To: Original-Lines: 34 User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7 Errors-To: guile-user-admin@gnu.org X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.lisp.guile.user:757 X-Report-Spam: http://spam.gmane.org/gmane.lisp.guile.user:757 >>>>> "Dirk" == Dirk Herrmann writes: Dirk> I have taken the freedom to add a benchmarking framework to Dirk> guile. My results, in case they are interesting ... Benchmarking /home/neil/Guile/cvs/guile-core/pre-inst-guile ... with GUILE_LOAD_PATH=/home/neil/Guile/cvs/guile-core/benchmark-suite ;; frame time per iteration: 1.1444091796875e-6 ("continuations.bm: call/cc" 300 "user:" 0.72 "benchmark:" 0.719656677246094 "bench/interp:" -3.4332275390625e-4 "gc:" 0.72) ("if.bm: if--then-else: executing then" 330000 "user:" 0.71 "benchmark:" 0.332344970703125 "bench/interp:" 0.042344970703125 "gc:" 0.29) ("if.bm: if--then-else: executing else" 330000 "user:" 0.73 "benchmark:" 0.352344970703125 "bench/interp:" 0.082344970703125 "gc:" 0.27) ("if.bm: if--then: executing then" 330000 "user:" 0.71 "benchmark:" 0.332344970703125 "bench/interp:" 0.042344970703125 "gc:" 0.29) ("if.bm: if--then: executing else" 330000 "user:" 0.72 "benchmark:" 0.342344970703125 "bench/interp:" 0.072344970703125 "gc:" 0.27) ("if.bm: if--then-else: executing then" 330000 "user:" 0.72 "benchmark:" 0.342344970703125 "bench/interp:" 0.062344970703125 "gc:" 0.28) ("if.bm: if--then-else: executing else" 330000 "user:" 0.71 "benchmark:" 0.332344970703125 "bench/interp:" 0.042344970703125 "gc:" 0.29) ("if.bm: if--then: executing then" 330000 "user:" 0.72 "benchmark:" 0.342344970703125 "bench/interp:" 0.062344970703125 "gc:" 0.28) ("if.bm: if--then: executing else" 330000 "user:" 0.7 "benchmark:" 0.322344970703125 "bench/interp:" 0.032344970703125 "gc:" 0.29) ("if.bm: if--then-else: executing then" 330000 "user:" 0.7 "benchmark:" 0.322344970703125 "bench/interp:" 0.032344970703125 "gc:" 0.29) ("if.bm: if--then-else: executing else" 330000 "user:" 0.7 "benchmark:" 0.322344970703125 "bench/interp:" 0.052344970703125 "gc:" 0.27) ("if.bm: if--then: executing then" 330000 "user:" 0.69 "benchmark:" 0.312344970703125 "bench/interp:" 0.032344970703125 "gc:" 0.28) ("if.bm: if--then: executing else" 330000 "user:" 0.69 "benchmark:" 0.312344970703125 "bench/interp:" 0.052344970703125 "gc:" 0.26) ("logand.bm: bignum" 130000 "user:" 0.88 "benchmark:" 0.731226806640625 "bench/interp:" 0.211226806640625 "gc:" 0.52) Did you consider using symbols rather than strings for "user:", "benchmark:" and so on? I think that would be more readable, and marginally easier to process programmatically as well. Also, from the PHB department :-), is there a single headline number that could usefully be boiled down from these results? Regards, Neil _______________________________________________ Guile-user mailing list Guile-user@gnu.org http://mail.gnu.org/mailman/listinfo/guile-user