Commit 051f157
feat(w47): Day 2 — WASM PQ benchmark harness + Playwright integration
- W47.2a: Professional benchmark HTML page with dark theme UI
- 3 configurable cards: Smoke, ADC (G2), Training (G4)
- System info bar, progress bars, color-coded pass/fail results
- Collapsible event log, console API reference
- W47.2b: Benchmark harness JS module
- benchADC(): measures per-candidate ADC search latency (ns)
- benchTraining(): measures codebook training time (s)
- computeGroundTruth(): brute-force L2 for recall validation
- Seeded PRNG (xorshift128+), 3 warmup iterations excluded
- W47.2c: Playwright verified — Chrome 145.0, WASM Supported
- benchADC(1000,1,1) returns valid timing JSON via browser_evaluate
- pkg-web/ build: wasm-pack --release --target web (622KB)
Hostile review: APPROVED (0C/0M/4m, all non-blocking)
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent baeb7d4 commit 051f157
4 files changed
Lines changed: 892 additions & 1 deletion
File tree
- docs
- planning/weeks/week_47
- reviews
- tests/wasm
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
| 6 | + | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
0 commit comments