Performance Benchmarks
Generation Speed
| Distribution | Single-threaded | Multi-threaded (4 cores) | SIMD Enabled |
|---|---|---|---|
| Uniform | 450 MB/s | 1.6 GB/s | 1.8 GB/s |
| Normal | 380 MB/s | 1.4 GB/s | 1.5 GB/s |
| Exponential | 420 MB/s | 1.5 GB/s | 1.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:| Generator | Time (ms) | Throughput | Quality Score |
|---|---|---|---|
| qiprng | 22 | 450 MB/s | 98.4% |
| MT19937 | 26 | 380 MB/s | 94.2% |
| PCG | 19 | 520 MB/s | 96.8% |
| ChaCha20 | 34 | 290 MB/s | 99.1% |