Source code

wasmgc benchmarks

Compare wasmgc and wasm-bindgen. Click Run to test both, or (?) to view the Rust code.

Nanoseconds per operation (lower is better); faster results are bold. ± is the relative margin of error at 95% confidence.

Loading WebAssembly and checking results…

JS accesses Rust data

Create a Point and read or write struct fields.
Benchmark wasmgc wasm-bindgen Run

Object references

Read or replace shared children, update a value shared by 16 holders, and traverse 1,024 linked nodes. Results cover the whole update or traversal.
Benchmark wasmgc wasm-bindgen Run