Batch Generation Benchmarks

View Source

Benchmark

Benchmark run from 2026-07-10 16:26:42.223612Z 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.20.2
Erlang Version 29.0.3

Configuration

Benchmark suite executing with the following configuration:

:time 5 s
:parallel 1
:warmup 2 s

Statistics

Run Time

Name IPS Average Deviation Median 99th %
batch 100 passwords 454.35 2.20 ms ±2.71% 2.20 ms 2.38 ms
individual 100 passwords 414.61 2.41 ms ±4.96% 2.40 ms 2.72 ms
batch 1000 passwords 43.30 23.10 ms ±3.13% 22.95 ms 26.40 ms
individual 1000 passwords 38.97 25.66 ms ±3.82% 25.61 ms 29.04 ms
individual 10000 passwords 3.90 256.28 ms ±1.97% 257.24 ms 262.91 ms
batch 10000 passwords 3.50 285.50 ms ±2.60% 287.79 ms 295.11 ms

Run Time Comparison

Name IPS Slower
batch 100 passwords 454.35  
individual 100 passwords 414.61 1.1x
batch 1000 passwords 43.30 10.49x
individual 1000 passwords 38.97 11.66x
individual 10000 passwords 3.90 116.44x
batch 10000 passwords 3.50 129.72x

Memory Usage

Name Average Factor
batch 100 passwords 1.75 MB  
individual 100 passwords 1.69 MB 0.97x
batch 1000 passwords 17.52 MB 10.01x
individual 1000 passwords 16.95 MB 9.68x
individual 10000 passwords 169.54 MB 96.84x
batch 10000 passwords 175.32 MB 100.14x