From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Andy Wingo Newsgroups: gmane.lisp.guile.devel Subject: Re: wip-cse Date: Wed, 25 Apr 2012 11:53:39 +0200 Message-ID: <87ty08rvbw.fsf@pobox.com> References: <87bomr30xz.fsf@pobox.com> <874nsjuzok.fsf@gnu.org> <87sjg31e11.fsf@pobox.com> <87vckyil6r.fsf@gnu.org> <87ehrdwnfm.fsf@pobox.com> <87mx61ytve.fsf@gnu.org> <87397tt1jx.fsf@pobox.com> <87vckobu35.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1335347638 26277 80.91.229.3 (25 Apr 2012 09:53:58 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 25 Apr 2012 09:53:58 +0000 (UTC) Cc: guile-devel@gnu.org To: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Wed Apr 25 11:53:57 2012 Return-path: Envelope-to: guile-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1SMyv7-0004gc-F6 for guile-devel@m.gmane.org; Wed, 25 Apr 2012 11:53:57 +0200 Original-Received: from localhost ([::1]:57939 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SMyv6-0000aE-PZ for guile-devel@m.gmane.org; Wed, 25 Apr 2012 05:53:56 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:60875) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SMyv3-0000Zw-Rj for guile-devel@gnu.org; Wed, 25 Apr 2012 05:53:55 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SMyuy-00087E-Mo for guile-devel@gnu.org; Wed, 25 Apr 2012 05:53:53 -0400 Original-Received: from a-pb-sasl-sd.pobox.com ([74.115.168.62]:34562 helo=sasl.smtp.pobox.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SMyuy-000872-EF; Wed, 25 Apr 2012 05:53:48 -0400 Original-Received: from sasl.smtp.pobox.com (unknown [127.0.0.1]) by a-pb-sasl-sd.pobox.com (Postfix) with ESMTP id 01885929A; Wed, 25 Apr 2012 05:53:45 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=pobox.com; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type:content-transfer-encoding; s=sasl; bh=wTFn1L3p7rdB 52zSkpCFXAZl51E=; b=aZTNrtZ1cyfIST+7eJOgIyaL9CaNf9xAQeTjr6xsHlZc 3l+DeW2YQdPi7ZGvEJMeQzDyY2JGOS2K77i9sP+MsmTfCPdxW3z4Lavp1AzmoyLi RoCRXag7c3Wz0Uu12qUMM44bcObaM0TtU99HmK20RwR0Trogh08mfvdYGkpE96o= DomainKey-Signature: a=rsa-sha1; c=nofws; d=pobox.com; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type:content-transfer-encoding; q=dns; s=sasl; b=Abs1nG xr0CFAm7u9y9Ymdr5+NnVIqH1Aa5utUBuDi9dH8Bz+PcAtNTPB//jwCKO8a/p/yX DsKGeOt7ledqaJY2ZR6Hr+N7JOL/+FcDd3m+naq4kflmctDwySNDyvHpWExYEmth l6tp07FtKegigvZ6RoZRyMC/eVtuVQ3+Qs2BY= Original-Received: from a-pb-sasl-sd.pobox.com (unknown [127.0.0.1]) by a-pb-sasl-sd.pobox.com (Postfix) with ESMTP id EF33C9299; Wed, 25 Apr 2012 05:53:44 -0400 (EDT) Original-Received: from badger (unknown [85.50.147.159]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by a-pb-sasl-sd.pobox.com (Postfix) with ESMTPSA id 3B5F29298; Wed, 25 Apr 2012 05:53:44 -0400 (EDT) In-Reply-To: <87vckobu35.fsf@gnu.org> ("Ludovic =?utf-8?Q?Court=C3=A8s=22'?= =?utf-8?Q?s?= message of "Wed, 25 Apr 2012 01:14:54 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.4 (gnu/linux) X-Pobox-Relay-ID: 8B88746C-8EBC-11E1-9842-8BEB728A0A4D-02397024!a-pb-sasl-sd.pobox.com X-detected-operating-system: by eggs.gnu.org: Solaris 10 (beta) X-Received-From: 74.115.168.62 X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Developers list for Guile, the GNU extensibility library" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Original-Sender: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.devel:14309 Archived-At: Hi, On Wed 25 Apr 2012 01:14, ludo@gnu.org (Ludovic Court=C3=A8s) writes: > Would be nice to check with the micro-benchs in vlists.bm as well. Forgot to mention that. Before: ;; running guile version 2.0.5.94-a8004d ;; calibrating the benchmarking framework... ;; calibration: ("empty initialization benchmark" 10000000 real 0.3420588= 14 real/iteration 3.42058814e-8 run/iteration 3.4155491e-8 core/iteration 0= .0 gc 0.0) ("vlists.bm: constructors: cons (srfi-1)" 2 real 0.057408929 real/iterati= on 0.0287044645 run/iteration 0.028649658 core/iteration 0.028649623844509 = gc 0.015796477) ("vlists.bm: constructors: cons (vlist)" 2 real 0.284835105 real/iteratio= n 0.1424175525 run/iteration 0.1421727855 core/iteration 0.142172751344509 = gc 0.027867707) ("vlists.bm: constructors: acons (srfi-1)" 2 real 0.14062694 real/iterati= on 0.07031347 run/iteration 0.070181649 core/iteration 0.070181614844509 gc= 0.035069774) ("vlists.bm: constructors: acons (vlist)" 2 real 0.84986149 real/iteratio= n 0.424930745 run/iteration 0.424175853 core/iteration 0.424175818844509 gc= 0.049258546) ("vlists.bm: iteration: fold (srfi-1)" 2 real 0.04667501 real/iteration 0= .023337505 run/iteration 0.0232955625 core/iteration 0.023295528344509 gc 0= .0) ("vlists.bm: iteration: fold (vlist)" 2 real 0.117599712 real/iteration 0= .058799856 run/iteration 0.0585624875 core/iteration 0.058562453344509 gc 0= .0) ("vlists.bm: iteration: assoc (srfi-1)" 70 real 3.308754515 real/iteratio= n 0.0472679216428571 run/iteration 0.0471808222857143 core/iteration 0.0471= 807881302233 gc 0.0) ("vlists.bm: iteration: assoc (vhash)" 70 real 0.0021592 real/iteration 3= .08457142857143e-5 run/iteration 3.07982571428571e-5 core/iteration 3.07641= 016518571e-5 gc 0.0) After: ;; running guile version 2.0.5.123-g4bd53c1 ;; calibrating the benchmarking framework... ;; calibration: ("empty initialization benchmark" 10000000 real 0.3526690= 89 real/iteration 3.52669089e-8 run/iteration 3.51752466e-8 core/iteration = 0.0 gc 0.0) ("vlists.bm: constructors: cons (srfi-1)" 2 real 0.0531704 real/iteration= 0.0265852 run/iteration 0.0265315645 core/iteration 0.0265315293247534 gc = 0.012732576) ("vlists.bm: constructors: cons (vlist)" 2 real 0.250039641 real/iteratio= n 0.1250198205 run/iteration 0.1247150905 core/iteration 0.124715055324753 = gc 0.025619954) ("vlists.bm: constructors: acons (srfi-1)" 2 real 0.134855313 real/iterat= ion 0.0674276565 run/iteration 0.067306533 core/iteration 0.067306497824753= 4 gc 0.041115138) ("vlists.bm: constructors: acons (vlist)" 2 real 0.549644456 real/iterati= on 0.274822228 run/iteration 0.2741667145 core/iteration 0.274166679324753 = gc 0.016484469) ("vlists.bm: iteration: fold (srfi-1)" 2 real 0.0454016 real/iteration 0.= 0227008 run/iteration 0.022658765 core/iteration 0.0226587298247534 gc 0.0) ("vlists.bm: iteration: fold (vlist)" 2 real 0.086939778 real/iteration 0= .043469889 run/iteration 0.043402648 core/iteration 0.0434026128247534 gc 0= .0) ("vlists.bm: iteration: assoc (srfi-1)" 70 real 3.325209262 real/iteratio= n 0.0475029894571429 run/iteration 0.0474030040428571 core/iteration 0.0474= 029688676105 gc 0.0) ("vlists.bm: iteration: assoc (vhash)" 70 real 0.001212222 real/iteration= 1.73174571428571e-5 run/iteration 1.72831142857143e-5 core/iteration 1.724= 79390391143e-5 gc 0.0) I don't think it's useful to run srfi-1 and vlist tests the same number of times when their complexity varies, as in the assoc case. Anyway, those are the numbers! Regards, Andy --=20 http://wingolog.org/