TopoLoom benchmarks

Real measurements on the datasets bundled with this showcase (BU4P benchmark graphs, California road networks, US power grid, downtown San Francisco OSM, SuiteSparse circuit matrices). Planarity times are medians of 7 runs; planarization is a single deterministic run. Measured on AMD Ryzen 7 3800X 8-Core Processor under WSL2 — treat relative shape, not absolutes, as the signal.

DatasetnmPlanartestPlanarity WASMtestPlanarity TSplanarizationLayout
hero-graph90122yes0.07 ms0.11 ms34 ms
bu4p-g00100-01100140yes0.29 ms0.92 ms55 ms
bu4p-g00200-01200266yes0.23 ms0.72 ms106 ms
downtown-sf-bfs-220-s3220274yes0.17 ms0.27 ms128 ms
powergrid-bfs-250-s1250297no0.29 ms39.49 ms505 ms
roadnet-ca-bfs-250-s11250336yes0.22 ms0.36 ms161 ms
powergrid-bfs-320-s7320399no0.32 ms94.19 ms337 ms
downtown-sf-bfs-320-s17320423yes0.5 ms0.43 ms257 ms
roadnet-ca-bfs-340-s23340455yes0.36 ms0.54 ms341 ms
bu4p-g00300-01300492yes1.18 ms196.04 ms267 ms
hamm-add32300623yes0.43 ms0.53 ms299 ms
hamm-add20186800no0.48 ms66.98 ms—

Guidance: planarity testing is sub-millisecond at this scale with the WASM backend; planarizationLayout is interactive-fine below roughly 500 edges (<~350 ms here) — measure before shipping anything larger, since the maximal-planar-subgraph phase re-runs a planarity test per edge (quadratic-ish growth).

Home · Getting started · GitHub