Path registration

View Source

Compares the retained incremental API with indexed bulk generation using identical operations.

Recorded at 2026-09-11T08:37:50.983973Z with mix bench. AshOaskit 0.4.1, Benchee 1.5.1, benchee_markdown 0.3.4.

Inputs and correctness checks are outside timed work. Scenarios run serially with 2 seconds of warmup, 5 seconds of runtime measurement, 1 second of memory measurement, and 1 second of reduction measurement. Slow scenarios may collect few samples; these measurements are observations, not guarantees.

Memory results measure allocations in the benchmarked process, not peak resident memory or allocations in other processes. See methodology.

System

Benchmark suite executing on the following system:

Operating System macOS
CPU Information Apple M5 Pro
Number of Available Cores 18
Available Memory 48 GB
Elixir Version 1.20.4
Erlang Version 28.5.0.6

Configuration

Benchmark suite executing with the following configuration:

:time 5 s
:parallel 1
:warmup 2 s

Statistics

Input: 100 paths

Run Time

Name IPS Average Deviation Median 99th %
indexed registration 6.47 K 0.154 ms ±6.55% 0.153 ms 0.190 ms
incremental registration 0.149 K 6.72 ms ±1.62% 6.71 ms 6.96 ms

Run Time Comparison

Name IPS Slower
indexed registration 6.47 K  
incremental registration 0.149 K 43.47x

Memory Usage

Name Average Factor
indexed registration 0.185 MB  
incremental registration 6.61 MB 35.67x

Reduction Count

Name Average Factor
indexed registration 11.20 K  
incremental registration 499.22 K 44.57x

Input: 500 paths

Run Time

Name IPS Average Deviation Median 99th %
indexed registration 1.24 K 0.80 ms ±4.54% 0.79 ms 0.91 ms
incremental registration 0.00611 K 163.65 ms ±0.79% 163.18 ms 168.58 ms

Run Time Comparison

Name IPS Slower
indexed registration 1.24 K  
incremental registration 0.00611 K 203.74x

Memory Usage

Name Average Factor
indexed registration 0.95 MB  
incremental registration 163.37 MB 171.7x

Reduction Count

Name Average Factor
indexed registration 0.0579 M  
incremental registration 12.35 M 213.39x

Input: 1000 paths

Run Time

Name IPS Average Deviation Median 99th %
indexed registration 614.30 1.63 ms ±5.04% 1.61 ms 1.85 ms
incremental registration 1.49 670.04 ms ±0.49% 670.02 ms 674.81 ms

Run Time Comparison

Name IPS Slower
indexed registration 614.30  
incremental registration 1.49 411.61x

Memory Usage

Name Average Factor
indexed registration 1.96 MB  
incremental registration 652.62 MB 332.67x

Reduction Count

Name Average Factor
indexed registration 0.118 M  
incremental registration 49.36 M 416.58x

Input: 2000 paths

Run Time

Name IPS Average Deviation Median 99th %
indexed registration 305.39 0.00327 s ±4.47% 0.00321 s 0.00361 s
incremental registration 0.38 2.60 s ±0.07% 2.60 s 2.60 s

Run Time Comparison

Name IPS Slower
indexed registration 305.39  
incremental registration 0.38 794.92x

Memory Usage

Name Average Factor
indexed registration 0.00394 GB  
incremental registration 2.55 GB 645.82x

Reduction Count

Name Average Factor
indexed registration 0.23 M  
incremental registration 197.10 M 865.94x