Recern Vector 0.5.0 · Measured 2026-11-04

Incremental writes.
Measured trade-offs.

Record-level encoding changes what a save has to do. We measured it against the published 0.4.0 wheel and the retained format-2 path, then ran full SIFT1M and GloVe-100 f32/int8 search sweeps.

The raw measurements are from 0.5.0-dev.1, whose engine implementation is retained for 0.5.0. These are historical measurements, not new 1.0.0 results. Their original build hashes and samples are preserved; these are not fresh timings of every shipped release binary.

Apple M3 Max · 36 GiB RAM · macOS 27.0.1 · Python 3.13.15
Optimized Rust builds · four build threads · warm OS cache · automatic checkpoint scheduling disabled

Historical 0.5.0-dev.1 measurements, not new 1.0.0 results. Warm-cache native saves with automatic scheduling disabled; 100,000 synthetic f32 records. These save latencies are not HTTP serving guarantees.

5.231ms

p50 · replacement save

4.905ms

p50 · delete save

0.088ms

p50 · clean save

100,000 synthetic records · f32 · 128 dimensions

What one save costs

Median of three per-process p50 measurements. Mutation time is separate. Each process runs 20 replacements, then 20 deletes, then 20 clean saves, without a checkpoint between phases.

Configurationreplacement save · msdelete save · msclean save · ms
Recern 0.4.0format 2 · 100,000 f321,092.946p501,409.96p501,209.893p50
Recern 0.5.0.dev1format 2 · 100,000 f321,072.921p501,403.322p501,242.448p50
Recern 0.5.0.dev1format 3 · 100,000 f325.231p504.905p500.088p50

Legacy-format results include replaying the WAL history accumulated in preceding phases. This is a warm-cache native save protocol with automatic maintenance disabled, not a production default-policy or HTTP latency comparison. Collection catalog work and occasional checksum-tree growth remain outside a constant-cost promise.

Three sizes, two precisions, three controls

All persistence cases

Each configuration has three fresh processes and newly built databases: 54 isolated cases in total. Format-3 single-record deletes appended 8,268 WAL bytes and validated 4,124 bytes at every measured size, encoding one record and changing two pages.

Records / precisionVersion / formatReplace p50Delete p50Clean p50Peak process RSS
1,000f320.4.0format 215.604 ms18.066 ms13.007 ms0.11 GiB
1,000f320.5.0.dev1format 215.287 ms17.974 ms13.081 ms0.11 GiB
1,000f320.5.0.dev1format 34.784 ms4.102 ms0.065 ms0.06 GiB
1,000int80.4.0format 214.721 ms20.99 ms16.187 ms0.15 GiB
1,000int80.5.0.dev1format 214.68 ms20.097 ms15.706 ms0.15 GiB
1,000int80.5.0.dev1format 35.105 ms4.021 ms0.054 ms0.06 GiB
10,000f320.4.0format 2110.57 ms144.886 ms123.253 ms0.83 GiB
10,000f320.5.0.dev1format 2108.45 ms141.521 ms122.453 ms0.92 GiB
10,000f320.5.0.dev1format 34.576 ms4.992 ms0.078 ms0.21 GiB
10,000int80.4.0format 2106.853 ms168.324 ms156.494 ms1.24 GiB
10,000int80.5.0.dev1format 2104.489 ms167.335 ms155.391 ms1.24 GiB
10,000int80.5.0.dev1format 35.28 ms4.905 ms0.077 ms0.18 GiB
100,000f320.4.0format 21,092.946 ms1,409.96 ms1,209.893 ms5.7 GiB
100,000f320.5.0.dev1format 21,072.921 ms1,403.322 ms1,242.448 ms5.77 GiB
100,000f320.5.0.dev1format 35.231 ms4.905 ms0.088 ms1.54 GiB
100,000int80.4.0format 21,033.082 ms1,614.545 ms1,578.224 ms7.36 GiB
100,000int80.5.0.dev1format 21,028.816 ms1,663.614 ms1,581.286 ms8.81 GiB
100,000int80.5.0.dev1format 35.031 ms4.946 ms0.06 ms1.38 GiB
Full datasets · original f32 ground truth

Recall and single-query throughput

SIFT1M: 1,000,000 × 128, L2. GloVe-100: 1,183,514 × 100, cosine. Each precision builds one index, then runs three loops over the same 1,000 queries, top-10, with 100 warmup queries per loop. This measures query-loop variation rather than build-to-build uncertainty.

  • Recern f32 HNSW m=16
  • Recern int8 HNSW m=16
0.50.80.90.950.990.999101001k10kRecall@10, stretched toward 1.0 →Queries per second (log) →Recern int8Recern f32
Recall@10 on the first 1,000 test queries; throughput of one query at a time from Python, on a log scale. The recall axis is stretched toward 1.0 so the high-recall region is readable; exact search sits at the right edge. Settings below recall 0.5 are not shown. The same numbers are in the tables below.

Int8 includes quantization error against the original vectors. It did not accelerate search in these runs. Recall below 99% within this ef sweep is an observed result, not a theoretical ceiling.

Choose quality before speed

Throughput at measured recall targets

Each cell selects the fastest measured setting reaching the target. No interpolation. p95 belongs to the same setting. “Not reached” means the measured sweep did not reach that target.

SIFT1M

PrecisionRecall ≥ 0.90Recall ≥ 0.95Recall ≥ 0.99
Recern f3213,737 /sef=40 · p95 0.095 ms8,514 /sef=80 · p95 0.138 ms4,574 /sef=160 · p95 0.265 ms
Recern int84,722 /sef=40 · p95 0.296 ms2,794 /sef=80 · p95 0.487 msnot reached

GloVe-100

PrecisionRecall ≥ 0.90Recall ≥ 0.95Recall ≥ 0.99
Recern f321,986 /sef=320 · p95 0.686 ms512 /sef=1280 · p95 2.583 msnot reached
Recern int8987 /sef=320 · p95 1.336 ms267 /sef=1280 · p95 5.392 msnot reached
The remaining full-image costs

Memory, file padding and recovery

The database, graph and encoded pages remain in RAM. A small record occupies at least one 4,096-byte page. Int8’s smaller vector payload does not guarantee a smaller file or lower total process peak.

SIFT1M

PrecisionBuildBulk saveCheckpointWarm reopenSnapshotVector payloadPeak process RSS
Recern f32103.14 s22.61 s3.63 s47.05 s3.81 GiB488.3 MiB12.98 GiB
Recern int8294.84 s22.21 s3.44 s47.34 s3.81 GiB125.9 MiB11.95 GiB

GloVe-100

PrecisionBuildBulk saveCheckpointWarm reopenSnapshotVector payloadPeak process RSS
Recern f32153.05 s28.52 s5.54 s56.04 s4.51 GiB451.5 MiB12.55 GiB
Recern int8379.01 s25.41 s3.59 s52.07 s4.51 GiB117.4 MiB15.21 GiB

RSS is the worker’s lifetime high-water mark, including Python/NumPy inputs, IDs, the index, cached pages, WAL/recovery buffers and allocator effects. Stage high-water values are cumulative, not isolated phase deltas. GloVe int8 reached 15.21 GiB. Open and checkpoint still process a full image; these numbers are not an out-of-core result or a server RAM budget.

Protocol and evidence

Reproduce and inspect

  • Native release builds, one query at a time through Python, including returned IDs; recall calculations stay outside the timer.
  • HNSW m=16, ef construction=200; ef=10, 20, 40, 80, 160, 320, 640, 1280. Graphs are built once per precision and dataset, with four build threads.
  • Persistence uses deterministic synthetic data (seed 20261104), 128-dimensional cosine vectors, three database sizes and 20 samples per phase per process. The table aggregates the median of three per-process statistics.
  • Warm OS caches on a desktop without CPU/process isolation. Background activity, thermal state, filesystem and allocator behavior may change the result.
  • No HTTP/Qdrant throughput, filters, concurrent load, cold-disk timings, power-loss guarantees or larger-than-memory operation is measured here. Functional recovery tests are separate.

persistence JSON · sift JSON · glove JSON · summary JSON · manifest JSON

Pinned requirements, complete method, plots and reproduction commands →

Measured source: b806ef1c2524d7ad296797ee016c71575b2ce832
Harness SHA-256: bd5a894ec4fdf3c1c635aad64d54137a04f4a335636438068bb36502ffc203c0

Checkpoint policy, compatibility and recovery checks →
Earlier protocols

Historical comparisons

The 0.4.0 comparison with faiss and the pre-0.2.0 prototype report remain separate. Their engine versions, construction protocols and measurements are preserved.

0.4.0 f32/int8 versus faiss →

Pre-0.2.0 prototype comparison →