Batch Generation Benchmarks

View Source

Benchmark

Benchmark run from 2026-01-21 11:07:02.895889Z UTC

System

Benchmark suite executing on the following system:

Operating System macOS
CPU Information Apple M4 Max
Number of Available Cores 16
Available Memory 128 GB
Elixir Version 1.19.5
Erlang Version 28.2

Configuration

Benchmark suite executing with the following configuration:

:time 5 s
:parallel 1
:warmup 2 s

Statistics

Run Time

Name IPS Average Devitation Median 99th %
batch 100 passwords 4060.91 0.25 ms ±10.83% 0.24 ms 0.34 ms
individual 100 passwords 3245.16 0.31 ms ±10.37% 0.30 ms 0.42 ms
batch 1000 passwords 366.27 2.73 ms ±3.69% 2.72 ms 2.98 ms
individual 1000 passwords 282.97 3.53 ms ±3.70% 3.51 ms 3.92 ms
individual 10000 passwords 26.49 37.75 ms ±1.80% 37.74 ms 40.82 ms
batch 10000 passwords 24.90 40.17 ms ±1.94% 40.03 ms 45.46 ms

Run Time Comparison

Name IPS Slower
batch 100 passwords 4060.91  
individual 100 passwords 3245.16 1.25x
batch 1000 passwords 366.27 11.09x
individual 1000 passwords 282.97 14.35x
individual 10000 passwords 26.49 153.28x
batch 10000 passwords 24.90 163.12x

Memory Usage

Name Average Factor
batch 100 passwords 0.80 MB  
individual 100 passwords 0.74 MB 0.93x
batch 1000 passwords 7.96 MB 10.0x
individual 1000 passwords 7.44 MB 9.34x
individual 10000 passwords 74.38 MB 93.38x
batch 10000 passwords 79.63 MB 99.97x