Workloads

WasmGC

Garbage-collected structs and arrays
Status
PhasePhase 5 · Wasm 3.0
StandardWebAssembly 3.0
Spec repositorygithub.com/WebAssembly/gc
Evidence scopeRepresentative adapter corpus · browser builds uncollected
Standardization history
2017Proposal started
2022Phase 3 — implementation
2023Phase 4 — shipped in Chrome and Firefox
2025Part of WebAssembly 3.0
Browsers
Chrome? unknown
Firefox? unknown
Safari? unknown
Toolchains
Kotlin/Wasm wasmJs / wasmWasi targets ● yes
Dart (dart2wasm) dart compile wasm ● yes
J2Wasm (J2CL) ● yes
wasm_of_ocaml ● yes
Binaryen --enable-gc ● yes
Emscripten linear memory only — no
rustc — no
Runtimes
◐ Partial
SpiderMonkeyJavaScriptCoreWAMRWasmEdgeChicoryLibWasmLibWasmEndiveWazyChasmWizardGraalWasmZwasm
? Unknown
WAVMWasmiwasm3wasm2goSubmilli
Spec test results
Performance

What is the allocation throughput and memory behavior of WasmGC implementations?

Exact struct, array, cast and i31 contracts at multiple operation counts. Invocation timing includes the recorded guest work; it does not measure isolated collector pauses.
GC corpus execution
geomean across successful complete GC corpus · lower is better
chicory jvm-bytecode-compiler ~14.4 ms
endive jvm-bytecode-compiler ~1.47 ms
graalwasm truffle-graal ~1.39 ms
jsc OMG (forced tier-up) ~2.21 ms
libwasm-jit optimizing-jit-tiered ~10.5 ms
spidermonkey ion-only ~817 µs
v8 turboshaft ~1.59 ms
wago railshot ~2.39 ms
wamr fast-jit not measured
wamr llvm-jit not measured
wasmedge jit ~9.02 ms
wasmer cranelift-jit not measured
wasmer llvm-jit not measured
wasmer singlepass-jit not measured
wasmtime cranelift ~19.6 ms
wasmtime winch not measured
wasm2c GCC not measured
wasm2go native-go-aot not measured
wavm llvm-jit not measured
wazero compiler not measured
wazy native-jit ~35.7 ms
wizard singlepass-jit ~24.6 ms
w2c2 GCC not measured
zwasm jit ~7.51 ms
Steady process peak RSS
includes adapter process · lower is better
chicory jvm-bytecode-compiler ~558 MiB
endive jvm-bytecode-compiler ~187 MiB
graalwasm truffle-graal ~365 MiB
jsc OMG (forced tier-up) ~188 MiB
libwasm-jit optimizing-jit-tiered ~656 MiB
spidermonkey ion-only ~80.8 MiB
v8 turboshaft ~123 MiB
wago railshot ~27.2 MiB
wamr fast-jit not measured
wamr llvm-jit not measured
wasmedge jit ~294 MiB
wasmer cranelift-jit not measured
wasmer llvm-jit not measured
wasmer singlepass-jit not measured
wasmtime cranelift ~13.1 MiB
wasmtime winch not measured
wasm2c GCC not measured
wasm2go native-go-aot not measured
wavm llvm-jit not measured
wazero compiler not measured
wazy native-jit ~11.8 MiB
wizard singlepass-jit ~743 MiB
w2c2 GCC not measured
zwasm jit ~448 MiB
Workload chicory jvm-bytecode-compiler endive jvm-bytecode-compiler graalwasm truffle-graal jsc OMG (forced tier-up) libwasm-jit optimizing-jit-tiered spidermonkey ion-only v8 turboshaft wago railshot wamr fast-jit wamr llvm-jit wasmedge jit wasmer cranelift-jit wasmer llvm-jit wasmer singlepass-jit wasmtime cranelift wasmtime winch wasm2c GCC wasm2go native-go-aot wavm llvm-jit wazero compiler wazy native-jit wizard singlepass-jit w2c2 GCC zwasm jit
features/gc/array-allocation-access/performance-4096x64
e4c1d1006bc52f9b5433bc23bd0e7b40288786cd69d52eff66e11b28051c805f.wasm
21.3 ms1.57 ms5.1 ms3.42 ms20.9 ms1.51 ms3.81 ms5.43 ms——13.7 ms———36.4 ms—————51.6 ms43.8 ms—11.5 ms
features/gc/array-copy-checksum/performance-64x64
53667f9e93b1ee082bb65ee584a3d29e317b25e62d88c5f3b0656d42ac8e3881.wasm
542 µs—93.7 µs80 µs148 µs69.1 µs127 µs538 µs——1.27 ms———176 µs—————4.3 ms2.76 ms—663 µs
features/gc/array-fill/performance-4096x64
76983fc232082690da73f7d0d419abcee39c83b707a337f0894e7bad1a7e37bd.wasm
25.8 ms2.32 ms2.01 ms4.64 ms21 ms2.21 ms4.69 ms5.27 ms——16.8 ms———36.7 ms—————60.2 ms54.9 ms—18.8 ms
features/gc/cast-subtype/performance-4096x64
ab5f84e9ae69990794b333406eaf49b1b7522fb49ab2e4cbb3bcf4dadbfb995a.wasm
13 ms2.23 ms518 µs1.94 ms10.1 ms395 µs321 µs16.4 µs——11.8 ms———9.43 ms—————41.8 ms21.8 ms—7.29 ms
features/gc/i31-roundtrip/performance-4096x64
a47af09b1a73dcdb085f68787124f2bd9a1e287bd373f5696e77f6a6bed2e4db.wasm
7.69 ms106 µs91.2 µs120 µs126 µs110 µs64.2 µs160 ns——9.76 µs———136 µs—————15.3 ms178 µs—357 µs
features/gc/struct-allocation-access/performance-4096x64
27468789ca552b5a12cceaa65fafe966cd395fa7e3a14cc45ebce0d2a182eace.wasm
18.1 ms1.15 ms552 µs3.06 ms10.6 ms607 µs531 µs3.08 ms——10.5 ms———34.7 ms—————41.1 ms24.5 ms—6.43 ms
features/gc/array-allocation-access/1
ce87c937ad646b589c288e20bc61445dc3ebbfb7ab304aad1ba19b941b7793d3.wasm
————————————————————————
features/gc/array-allocation-access/4096
ce87c937ad646b589c288e20bc61445dc3ebbfb7ab304aad1ba19b941b7793d3.wasm
————————————————————————
features/gc/array-allocation-access/64
ce87c937ad646b589c288e20bc61445dc3ebbfb7ab304aad1ba19b941b7793d3.wasm
————————————————————————
features/gc/array-copy-checksum/64
fef984ca5e2307e2fdcf27342172f677cb3e1471d4c134ae07188d9f3588db75.wasm
————————————————————————
features/gc/array-fill/1
04c7e97b20809fac3970e9d0739b414bfd36c8e50e179408542d3275e102a927.wasm
————————————————————————
features/gc/array-fill/4096
04c7e97b20809fac3970e9d0739b414bfd36c8e50e179408542d3275e102a927.wasm
————————————————————————
features/gc/array-fill/64
04c7e97b20809fac3970e9d0739b414bfd36c8e50e179408542d3275e102a927.wasm
————————————————————————
features/gc/cast-subtype/1
325e62a0e2a322c7eefae49f2e96b51d68afc9c97a68cecad74da192b59bf2e9.wasm
————————————————————————
features/gc/cast-subtype/4096
325e62a0e2a322c7eefae49f2e96b51d68afc9c97a68cecad74da192b59bf2e9.wasm
————————————————————————
features/gc/cast-subtype/64
325e62a0e2a322c7eefae49f2e96b51d68afc9c97a68cecad74da192b59bf2e9.wasm
————————————————————————
features/gc/i31-roundtrip/1
fcc7e8138f0076a2f3dab71f3280c587993d08cb5de605cf8b9b454ab0a72a7a.wasm
————————————————————————
features/gc/i31-roundtrip/4096
fcc7e8138f0076a2f3dab71f3280c587993d08cb5de605cf8b9b454ab0a72a7a.wasm
————————————————————————
features/gc/i31-roundtrip/64
fcc7e8138f0076a2f3dab71f3280c587993d08cb5de605cf8b9b454ab0a72a7a.wasm
————————————————————————
features/gc/struct-allocation-access/1
7a2169dbfa34644df85d2d0f9d554630cd1e0531a30029f8e4204fb21f10caf2.wasm
————————————————————————
features/gc/struct-allocation-access/4096
7a2169dbfa34644df85d2d0f9d554630cd1e0531a30029f8e4204fb21f10caf2.wasm
————————————————————————
features/gc/struct-allocation-access/64
7a2169dbfa34644df85d2d0f9d554630cd1e0531a30029f8e4204fb21f10caf2.wasm
————————————————————————
Collectors and pauses
chicory jvm-bytecode-compiler not collected Collector pause distribution not collected
endive jvm-bytecode-compiler not collected Collector pause distribution not collected
graalwasm truffle-graal not collected Collector pause distribution not collected
jsc OMG (forced tier-up) not collected Collector pause distribution not collected
libwasm-jit optimizing-jit-tiered not collected Collector pause distribution not collected
spidermonkey ion-only not collected Collector pause distribution not collected
v8 turboshaft not collected Collector pause distribution not collected
wago railshot not collected Collector pause distribution not collected
wamr fast-jit not collected Collector pause distribution not collected
wamr llvm-jit not collected Collector pause distribution not collected
wasmedge jit not collected Collector pause distribution not collected
wasmer cranelift-jit not collected Collector pause distribution not collected
wasmer llvm-jit not collected Collector pause distribution not collected
wasmer singlepass-jit not collected Collector pause distribution not collected
wasmtime cranelift not collected Collector pause distribution not collected
wasmtime winch not collected Collector pause distribution not collected
wasm2c GCC not collected Collector pause distribution not collected
wasm2go native-go-aot not collected Collector pause distribution not collected
wavm llvm-jit not collected Collector pause distribution not collected
wazero compiler not collected Collector pause distribution not collected
wazy native-jit not collected Collector pause distribution not collected
wizard singlepass-jit not collected Collector pause distribution not collected
w2c2 GCC not collected Collector pause distribution not collected
zwasm jit not collected Collector pause distribution not collected
Pause distributions appear only where a collector-aware measurement exists. Ordinary invocation latency is never relabeled as GC pause.