From: Andy Wingo <wingo@pobox.com>
To: ludo@gnu.org (Ludovic Courtès)
Cc: guile-devel@gnu.org
Subject: Re: wip-cse
Date: Wed, 25 Apr 2012 11:53:39 +0200 [thread overview]
Message-ID: <87ty08rvbw.fsf@pobox.com> (raw)
In-Reply-To: <87vckobu35.fsf@gnu.org> ("Ludovic Courtès"'s message of "Wed, 25 Apr 2012 01:14:54 +0200")
Hi,
On Wed 25 Apr 2012 01:14, ludo@gnu.org (Ludovic Courtès) 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.342058814 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/iteration 0.0287044645 run/iteration 0.028649658 core/iteration 0.028649623844509 gc 0.015796477)
("vlists.bm: constructors: cons (vlist)" 2 real 0.284835105 real/iteration 0.1424175525 run/iteration 0.1421727855 core/iteration 0.142172751344509 gc 0.027867707)
("vlists.bm: constructors: acons (srfi-1)" 2 real 0.14062694 real/iteration 0.07031347 run/iteration 0.070181649 core/iteration 0.070181614844509 gc 0.035069774)
("vlists.bm: constructors: acons (vlist)" 2 real 0.84986149 real/iteration 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/iteration 0.0472679216428571 run/iteration 0.0471808222857143 core/iteration 0.0471807881302233 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.07641016518571e-5 gc 0.0)
After:
;; running guile version 2.0.5.123-g4bd53c1
;; calibrating the benchmarking framework...
;; calibration: ("empty initialization benchmark" 10000000 real 0.352669089 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/iteration 0.1250198205 run/iteration 0.1247150905 core/iteration 0.124715055324753 gc 0.025619954)
("vlists.bm: constructors: acons (srfi-1)" 2 real 0.134855313 real/iteration 0.0674276565 run/iteration 0.067306533 core/iteration 0.0673064978247534 gc 0.041115138)
("vlists.bm: constructors: acons (vlist)" 2 real 0.549644456 real/iteration 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/iteration 0.0475029894571429 run/iteration 0.0474030040428571 core/iteration 0.0474029688676105 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.72479390391143e-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
--
http://wingolog.org/
next prev parent reply other threads:[~2012-04-25 9:53 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-04-16 19:56 wip-cse Andy Wingo
2012-04-16 21:36 ` wip-cse Ludovic Courtès
2012-04-16 22:56 ` wip-cse Andy Wingo
2012-04-16 23:26 ` wip-cse Andy Wingo
2012-04-17 12:42 ` wip-cse Ludovic Courtès
2012-04-24 8:20 ` wip-cse Andy Wingo
2012-04-24 16:31 ` wip-cse Ludovic Courtès
2012-04-24 18:41 ` wip-cse Andy Wingo
2012-04-24 23:14 ` wip-cse Ludovic Courtès
2012-04-25 9:53 ` Andy Wingo [this message]
2012-04-25 14:10 ` wip-cse Ludovic Courtès
2012-04-25 16:42 ` wip-cse Andy Wingo
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/guile/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87ty08rvbw.fsf@pobox.com \
--to=wingo@pobox.com \
--cc=guile-devel@gnu.org \
--cc=ludo@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).