jc_voronoi / offline benchmark

Wasm versus JavaScript Voronoi libraries

Inputs and library adapters are prepared before timing. Each sample times one library call that generates the diagram and, where requested, retrieves its output.

Loading libraries…
Methodology

Results are medians. The harness runs two untimed warmups, then 10 samples for 10k and five samples for 100k and the pathological case. Point generation, comparison-library input conversion, Wasm initialization, table rendering, and inter-sample yielding are outside the measured region. JCV input copying and diagram disposal are included.

The 100k pathological case is the issue48 input with 99,998 symmetric diagonal points. “—” means the library has no direct operation for that result.