Hi, On Wed 25 Apr 2012 01:14, l...@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/