Giter VIP home page Giter VIP logo

prng-bench's People

Contributors

idontgetoutmuch avatar nkartashov avatar

Stargazers

 avatar

Watchers

 avatar  avatar

prng-bench's Issues

Suspicious Results

I would have expected PCG to be at least twice as fast as Mersenne and all the results seem to be identical for all the different RNGs. This makes me suspicious.

prng-bench $ ~/Library/Haskell/ghc-7.10.3/lib/prng-bench-0.1.0.0/bin/prng-bench
benchmarking Next/10000_Random
time                 122.8 μs   (121.6 μs .. 124.0 μs)
                     0.999 R²   (0.998 R² .. 0.999 R²)
mean                 122.6 μs   (121.1 μs .. 124.1 μs)
std dev              4.668 μs   (3.787 μs .. 5.908 μs)
variance introduced by outliers: 37% (moderately inflated)

benchmarking Next/10000_SplitMix
time                 122.9 μs   (121.3 μs .. 124.7 μs)
                     0.999 R²   (0.998 R² .. 0.999 R²)
mean                 122.7 μs   (121.5 μs .. 124.3 μs)
std dev              4.747 μs   (3.780 μs .. 6.969 μs)
variance introduced by outliers: 38% (moderately inflated)

benchmarking Next/10000_TFRandom
time                 120.8 μs   (119.5 μs .. 122.5 μs)
                     0.998 R²   (0.998 R² .. 0.999 R²)
mean                 121.5 μs   (120.3 μs .. 123.1 μs)
std dev              4.765 μs   (4.118 μs .. 5.649 μs)
variance introduced by outliers: 39% (moderately inflated)

benchmarking Next/10000_Mersenne
time                 122.5 μs   (121.2 μs .. 123.9 μs)
                     0.999 R²   (0.998 R² .. 0.999 R²)
mean                 123.2 μs   (122.2 μs .. 124.7 μs)
std dev              3.909 μs   (3.189 μs .. 5.051 μs)
variance introduced by outliers: 30% (moderately inflated)

benchmarking Next/10000_PCGRandom
time                 122.5 μs   (121.0 μs .. 123.9 μs)
                     0.999 R²   (0.998 R² .. 0.999 R²)
mean                 122.3 μs   (121.3 μs .. 123.7 μs)
std dev              4.147 μs   (3.377 μs .. 5.606 μs)
variance introduced by outliers: 32% (moderately inflated)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.