d3-force vs d3-force-wasm

A drop-in replacement for d3-force with a WebAssembly core: change one import, get the same output to the last bit, faster.

Below, the same seeded graph runs through both libraries in your browser, one tick each per frame. Times exclude drawing. "Bit-identical" compares every node's position and velocity after every tick. Untick a side to stop running and drawing it.

Speed-up – Tick 0 Output –

– ms/tick

– ms/tick

Benchmark: 300 ticks, no drawing

Runs each library on its own copy of the graph, alternating which goes first; the live view pauses while it runs.

Scenariod3-forced3-force-wasmSpeed-upIdentical
Not run yet.