Tier: L (5-7 days) | Type: perf
Context. WebGPU (Wave 7 #1) targets browser GPU. Node servers and older browsers get no benefit. A WASM SIMD implementation of the view-tag inner loop runs everywhere Node and modern browsers ship, and closes the gap between the CPU-JS baseline (already 229x from view-tag batching) and the GPU path. Complementary to WebGPU, not competing.
Scope.
- Rust or AssemblyScript inner loop under
src/chains/stellar/scanner/wasm/ compiled to .wasm with SIMD128 features.
- JS wrapper feature-detects
WebAssembly.SIMD and falls back to the pure-JS batch path.
- Public API unchanged (
fetchAnnouncementsStream).
- Bench in
test/chains/stellar/bench/scan.bench.ts adds a WASM row.
Acceptance.
Files. src/chains/stellar/scanner/wasm/ (new), src/chains/stellar/scanner/index.ts, src/chains/stellar/announcements.ts, test/chains/stellar/bench/scan.bench.ts, package.json.
Tier: L (5-7 days) | Type: perf
Context. WebGPU (Wave 7 #1) targets browser GPU. Node servers and older browsers get no benefit. A WASM SIMD implementation of the view-tag inner loop runs everywhere Node and modern browsers ship, and closes the gap between the CPU-JS baseline (already 229x from view-tag batching) and the GPU path. Complementary to WebGPU, not competing.
Scope.
src/chains/stellar/scanner/wasm/compiled to.wasmwith SIMD128 features.WebAssembly.SIMDand falls back to the pure-JS batch path.fetchAnnouncementsStream).test/chains/stellar/bench/scan.bench.tsadds a WASM row.Acceptance.
.wasmbyte size <= 32 KB, checked insize-limitFiles.
src/chains/stellar/scanner/wasm/(new),src/chains/stellar/scanner/index.ts,src/chains/stellar/announcements.ts,test/chains/stellar/bench/scan.bench.ts,package.json.