Kind: optimization | Status: decided | Correction: benjamini_hochberg
Question: Phase 6 novel option #3 (specialize for observed query distributions) / SOTA parallel batch evaluation: the Transducer is Send+Sync (PathMapDictionary = Arc), so a batch (distribution) of independent fuzzy queries can be evaluated with rayon over a shared read-only transducer. Does parallel batch evaluation reduce whole-batch wall time versus sequential on a 512-query batch?
Transducer holds dictionary: D; PathMapDictionary is Arc-backed (Sync). query() takes &self, so a shared transducer can be queried across threads.
H1. Evaluating a 512-query batch with rayon par_iter over a shared &Transducer reduces whole-batch wall time versus sequential iteration by a large margin (multi-core, embarrassingly parallel), returning identical per-query result counts. — ✅ accepted
batch_wall_time_ms (ms) · predicted: decrease · planned n/arm: 30{"type": "welch_t", "params": {"tail": "less", "alpha": 0.05, "min_effect": {"kind": "cohens_d", "threshold": 0.5}}}| Metric | Test | Statistic | p | Effect | 95% CI | Verdict |
|---|---|---|---|---|---|---|
batch_wall_time_ms | welch_t | -3663.538190 | 0.000000 | -529.084858 | [-161.9787, -161.8040] | accepted |
Decision on batch_wall_time_ms:
ACCEPTED (criterion: welch_t, correction: BenjaminiHochberg) [0] WelchT: statistic=-3663.5382, p=0.000000, effect=-529.0849, 95% CI=[-161.9787, -161.8040]
Operator note: Parallel batch fuzzy-query evaluation (512-query batch, dict 2000, d=2) via rayon par_iter over a shared read-only &Transducer, pinned to one 8-core CCD. Control (sequential) 185.98 ms vs treatment (parallel) 23.81 ms — ~7.8x on 8 cores (near-linear). Correctness gate passed: parallel per-query result counts identical to sequential. Transducer is Send+Sync (PathMapDictionary = Arc), so no code change needed — the win is an opt-in usage pattern (par_iter over queries).
Nothing rejected (or no decisions yet).
cd385e3experiment_samples.Rendered from the pgmcp experiment record (the structured source of truth). Edit the experiment, not this file.
Can you improve this documentation?Edit on GitHub
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |