[commit: random] master: Added some very minor comments and a simple benchmarking script. (e7f72c8)
Ian Lynagh
igloo at earth.li
Sun Jun 26 15:55:39 CEST 2011
Repository : ssh://darcs.haskell.org//srv/darcs/packages/random
On branch : master
http://hackage.haskell.org/trac/ghc/changeset/e7f72c84cb7dec28a417ce24d085d31e9d97160d
>---------------------------------------------------------------
commit e7f72c84cb7dec28a417ce24d085d31e9d97160d
Author: Ryan Newton <rrnewton at gmail.com>
Date: Fri Jun 24 14:26:22 2011 -0400
Added some very minor comments and a simple benchmarking script.
Using this script I saw a 13X regression in stdGen in recent revisions
vs the 1.0.0.3 version, dropping to only 900K random ints/sec on my
machine. However, it was some kind of heisenbug because now it's gone
away for unknown reasons. Watch out for it in the future though.
Benchmark/BinSearch.hs | 133 ++++++++++++++++++++
Benchmark/SimpleRNGBench.hs | 289 +++++++++++++++++++++++++++++++++++++++++++
System/Random.hs | 2 +
tests/random1283.hs | 2 +
4 files changed, 426 insertions(+), 0 deletions(-)
Diff suppressed because of size. To see it, use:
git show e7f72c84cb7dec28a417ce24d085d31e9d97160d
More information about the Cvs-libraries
mailing list