PQ BENCHMARK SUITE

Product Quantization WASM performance validation. Gate thresholds enforced in real-time.

Engine --
WASM --
Bundle --
Platform --
SMOKE TEST
Quick validation -- 1K vectors, 32D
VERIFY
ADC SEARCH LATENCY
G2 Gate -- Target: <150ns/candidate P99
G2
TRAINING LATENCY
G4 Gate -- Target: <60s WASM (100K)
G4

EVENT LOG 0

CONSOLE API (PLAYWRIGHT / DEVTOOLS)

await benchADC(nCodes, nQueries, iterations, {dims, m, ksub, k, maxIters}) await benchTraining(nVectors, iterations, {dims, m, ksub, maxIters}) computeGroundTruth(vectors, n, dims, queries, k) generateSyntheticVectors(n, dims, seed)