See the blog post accompanying this code. Tests the performance of several PRNGs, including
- Xoshiro256+
- Xoroshiro128+
- Linear congruential generator (LCG)
- Permuted congruential generator (PCG)
- SplitMix64
- Mersenne Twister (MT)
- C++ base
minstd
- C++ base
rand()
- C++ base
mt
Use the included cmake file to compile.
>> cmake .
>> make
>> ./rng_testing
Email: thompsonsed@gmail.com
License: MIT