axel22/lazy-val-bench — pull request #1 by viktorklang (2013-05-21 23:53:50+00:00)
Title: Adding v4, seems to have potential for the uncontended case (correctness not 100% verified, it's 2am here)

[info] Test group: LazyVals
[info] - LazyVals.non-lazy measurements:
[info] - at size -> 1000000, 1 alternatives: passed
[info] (ci = <3.21 ms, 3.42 ms>, significance = 1.0E-10)
[info] - at size -> 2000000, 1 alternatives: passed
[info] (ci = <6.48 ms, 6.80 ms>, significance = 1.0E-10)
[info] - at size -> 3000000, 1 alternatives: passed
[info] (ci = <9.61 ms, 10.50 ms>, significance = 1.0E-10)
[info] - at size -> 4000000, 1 alternatives: passed
[info] (ci = <10.70 ms, 18.87 ms>, significance = 1.0E-10)
[info] - at size -> 5000000, 1 alternatives: passed
[info] (ci = <16.22 ms, 17.26 ms>, significance = 1.0E-10)
[info] - LazyVals.lazy-current measurements:
[info] - at size -> 1000000, 1 alternatives: passed
[info] (ci = <21.49 ms, 22.12 ms>, significance = 1.0E-10)
[info] - at size -> 2000000, 1 alternatives: passed
[info] (ci = <42.91 ms, 46.14 ms>, significance = 1.0E-10)
[info] - at size -> 3000000, 1 alternatives: passed
[info] (ci = <61.26 ms, 77.38 ms>, significance = 1.0E-10)
[info] - at size -> 4000000, 1 alternatives: passed
[info] (ci = <84.54 ms, 101.50 ms>, significance = 1.0E-10)
[info] - at size -> 5000000, 1 alternatives: passed
[info] (ci = <110.02 ms, 113.05 ms>, significance = 1.0E-10)
[info] - LazyVals.lazy-simulation-v4 measurements:
[info] - at size -> 1000000, 1 alternatives: passed
[info] (ci = <25.50 ms, 26.18 ms>, significance = 1.0E-10)
[info] - at size -> 2000000, 1 alternatives: passed
[info] (ci = <50.66 ms, 54.27 ms>, significance = 1.0E-10)
[info] - at size -> 3000000, 1 alternatives: passed
[info] (ci = <77.23 ms, 81.57 ms>, significance = 1.0E-10)
[info] - at size -> 4000000, 1 alternatives: passed
[info] (ci = <102.33 ms, 107.56 ms>, significance = 1.0E-10)
[info] - at size -> 5000000, 1 alternatives: passed
[info] (ci = <131.24 ms, 144.31 ms>, significance = 1.0E-10)
[info]
[info] Summary: 1 tests passed, 0 tests failed.