1.4.1 benchmark results
Status: final 1.4.1 baseline, recorded on the dedicated Linux reference host at
source SHA 0649096.
Re-run this complete matrix if the benchmark code or baseline changes.
Map is the standard parse_values/load_values API returning BTreeMap<String, String>. The 1.4.1 release did not include the compact API; charts show the map API and every pinned library.
Memory chartExplore map-based peak, retained heap and allocations. Speed chartExplore map-based values and load timings.
This page uses the methodology, scenario catalogue and result schema. Raw evidence:
- Memory JSONL – 165 cases
- Memory table
- Memory fingerprint
- Speed raw bencher output – 115 benchmark results
- Speed table
- Speed fingerprint
Provenance
Section titled “Provenance”| Item | Value |
|---|---|
| Source SHA | 0649096 |
| Reference host | Dedicated quiet Linux x86_64 host |
| CPU | Intel Core i7-6700HQ, 8 logical CPUs |
| OS / kernel | Linux / 7.1.3-arch1-2 |
| Rust | 1.97.1 (8bab26f4f 2026-07-14) |
| Criterion environment | Speed fingerprint load1=0.46 |
| Memory environment | Memory fingerprint load1=0.25 |
| Queue | Single-slot serialized queue (bench group) |
The two runs share the same source SHA. The memory fingerprint records a
lower one-minute load than the Criterion run (0.25 versus 0.46). The
deterministic allocator metrics do not depend on wall-clock scheduling, so the
load is retained for audit rather than used to filter the run. This historical
1.4.1 memory snapshot was recorded before CountingAllocator::realloc stopped
double-counting growing reallocations; heap byte metrics and speed timings are
unaffected, and the current post-fix CI map baseline is in
memory.md.
Against the best pinned competitor in each comparable cell:
| Metric | Result |
|---|---|
| Speed | 25/25 strict wins |
| Peak heap | 30/30 strict wins |
| Allocation count | 30/30 strict wins |
| Retained heap | 30/30 ties, 0 losses |
The retained result is a documented no-loss result, not a strict win. See Methodology § Claim boundary.
Speed cells are 40 values lines (5 sizes × 2 non-empty shapes × 4 supported implementations) and 75 load lines (5 sizes × 3 shapes × 5 implementations). For the 25 adotenv-vs-best comparisons, the speed ratio ranges from 0.27 to 0.80 (median 0.35); every value is below 1.0. Memory peak-heap ratios range from 0.00 to 0.90 (median 0.49); every value is below 1.0. Allocation ratios range from 0.00 to 0.965 (median 0.51); every value is below 1.0.
Reproduce one cell
Section titled “Reproduce one cell”Memory:
cargo run --release -p adotenv-xtask -- memory \ --out ~/.tmp/adotenv-bench/one-memory.jsonl \ --sizes 128 --shapes plain --modes valuesFind the matching size, shape, mode and implementation rows in
memory-1.4.1.jsonl (or the current baseline in
memory.jsonl); the fixture_sha256 must match the
plain-128 hash.
Speed:
cargo run --release -p adotenv-xtask -- speed \ --out ~/.tmp/adotenv-bench/one-speed.txt \ --bench competitors --filter 'plain/128'Find the matching competitor_values/.../plain/128 or
competitor_load/.../plain/128 line in speed.txt.
Publication procedure
Section titled “Publication procedure”cargo run --release -p adotenv-xtask -- queue \ --host "$ADOTENV_BENCH_HOST" \ --remote-root "$ADOTENV_BENCH_ROOT" \ --out docs/benchmarks/memory.jsonl \ --sizes 8,128,1k,10k,100k --shapes plain,long-line,empty \ --modes values,load,document,resolve --sync
cargo run --release -p adotenv-xtask -- queue-speed \ --host "$ADOTENV_BENCH_HOST" \ --remote-root "$ADOTENV_BENCH_ROOT" \ --out docs/benchmarks/speed.txt --syncThen render the tables, compare the fingerprints and update this page before tagging. Do not publish a run that mixed source SHAs, hosts or queue sessions.