Part of #1 (M0). This is the single most important number in the project.
Goal
Measure ECDSA and Schnorr verifications/sec using a WASM-compiled libsecp256k1, single-core and scaled across N Web Workers, on real signatures pulled from mainnet blocks.
Why
Whether full validation is hours or days hinges on this. The engine's current crypto is pure JS (~20-100x too slow); the node needs WASM secp. Everything downstream is speculative until this is measured.
Benchmark / acceptance
- Report verifies/sec/core (ECDSA and Schnorr), with and without WASM SIMD.
- Report total throughput scaling 1..N workers (near-linear?).
- Report the x-factor vs native libsecp on the same machine.
- Use real signatures from downloaded blocks, not synthetic.
- Confirm: >= ~10k verifies/sec/core in WASM, scaling roughly with core count.
Notes
Use an existing WASM build of libsecp256k1. Output feeds M0.5's revised time model.
Part of #1 (M0). This is the single most important number in the project.
Goal
Measure ECDSA and Schnorr verifications/sec using a WASM-compiled
libsecp256k1, single-core and scaled across N Web Workers, on real signatures pulled from mainnet blocks.Why
Whether full validation is hours or days hinges on this. The engine's current crypto is pure JS (~20-100x too slow); the node needs WASM secp. Everything downstream is speculative until this is measured.
Benchmark / acceptance
Notes
Use an existing WASM build of libsecp256k1. Output feeds M0.5's revised time model.