Skip to main content

Performance Benchmarks

Generation Speed

DistributionSingle-threadedMulti-threaded (4 cores)SIMD Enabled
Uniform450 MB/s1.6 GB/s1.8 GB/s
Normal380 MB/s1.4 GB/s1.5 GB/s
Exponential420 MB/s1.5 GB/s1.7 GB/s

Memory Usage

  • Base memory: ~2 MB
  • Per-thread overhead: ~512 KB
  • Cache size (configurable): 1-16 MB

Comparison with Other Generators

Tested on Apple M1 Pro, 10 million samples:
GeneratorTime (ms)ThroughputQuality Score
qiprng22450 MB/s98.4%
MT1993726380 MB/s94.2%
PCG19520 MB/s96.8%
ChaCha2034290 MB/s99.1%