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, Firefox, Safari: not measured. wasm.fyi only reports results it collects, and browser builds aren't collected yet.

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
SpiderMonkeyJavaScriptCoreWAMRWasmEdgeChicoryLibWasmEndiveWazyChasmWizardGraalWasmZwasm
? 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) not measured
libwasm optimizing-jit-tiered ~10.5 ms
spidermonkey ion-only not measured
v8 turboshaft ~1.59 ms
wago go not measured
wago railshot ~2.39 ms
wago tinygo not measured
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 not measured
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) not measured
libwasm optimizing-jit-tiered ~656 MiB
spidermonkey ion-only not measured
v8 turboshaft ~123 MiB
wago go not measured
wago railshot ~27.2 MiB
wago tinygo not measured
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 not measured
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 optimizing-jit-tiered spidermonkey ion-only v8 turboshaft wago go wago railshot wago tinygo 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
21.3 ms1.57 ms5.1 ms—20.9 ms—3.81 ms—5.43 ms———13.7 ms—————————51.6 ms43.8 ms—11.5 ms
features/gc/array-copy-checksum/performance-64x64
542 µs—93.7 µs—148 µs—127 µs—538 µs———1.27 ms—————————4.3 ms2.76 ms—663 µs
features/gc/array-fill/performance-4096x64
25.8 ms2.32 ms2.01 ms—21 ms—4.69 ms—5.27 ms———16.8 ms—————————60.2 ms54.9 ms—18.8 ms
features/gc/cast-subtype/performance-4096x64
13 ms2.23 ms518 µs—10.1 ms—321 µs—16.4 µs———11.8 ms—————————41.8 ms21.8 ms—7.29 ms
features/gc/i31-roundtrip/performance-4096x64
7.69 ms106 µs91.2 µs—126 µs—64.2 µs—160 ns———9.76 µs—————————15.3 ms178 µs—357 µs
features/gc/struct-allocation-access/performance-4096x64
18.1 ms1.15 ms552 µs—10.6 ms—531 µs—3.08 ms———10.5 ms—————————41.1 ms24.5 ms—6.43 ms
features/gc/array-allocation-access/1
907 µs—————1.34 µs—6.78 µs———3.38 µs—————————3.99 µs59.1 µs——
features/gc/array-allocation-access/4096
8.4 ms—————61.2 µs—292 µs———650 µs—————————717 µs681 µs——
features/gc/array-allocation-access/64
1.09 ms—————2.24 µs—29.5 µs———6.9 µs—————————13.1 µs56.7 µs——
features/gc/array-copy-checksum/64
——————————————————————————
features/gc/array-fill/1
948 µs—————1.44 µs—8.68 µs———3.55 µs—————————5.25 µs48.8 µs——
features/gc/array-fill/4096
16.7 ms—————73.2 µs—791 µs———710 µs—————————857 µs737 µs——
features/gc/array-fill/64
1.25 ms—————2.48 µs—27.4 µs———8.09 µs—————————14.2 µs61.3 µs——
features/gc/cast-subtype/1
624 µs—————1.31 µs—7.07 µs———3.33 µs—————————3.85 µs50.6 µs——
features/gc/cast-subtype/4096
13 ms—————4.1 µs—978 µs———217 µs—————————850 µs385 µs——
features/gc/cast-subtype/64
923 µs—————1.37 µs—35.1 µs———6.91 µs—————————19.3 µs55.9 µs——
features/gc/i31-roundtrip/1
889 µs—————1.2 µs—2.77 µs———3.25 µs—————————4.93 µs51.5 µs——
features/gc/i31-roundtrip/4096
6.77 ms—————3.07 µs—4.9 µs———3.24 µs—————————197 µs53.3 µs——
features/gc/i31-roundtrip/64
1.11 ms—————1.3 µs—2.84 µs———3.2 µs—————————5.91 µs51.7 µs——
features/gc/struct-allocation-access/1
582 µs—————1.25 µs—6.93 µs———3.35 µs—————————3.83 µs47 µs——
features/gc/struct-allocation-access/4096
7.23 ms—————2.31 µs—238 µs———144 µs—————————590 µs262 µs——
features/gc/struct-allocation-access/64
792 µs—————1.28 µs—18.4 µs———6.5 µs—————————9.88 µs51.2 µs——
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 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 go not collected Collector pause distribution not collected
wago railshot not collected Collector pause distribution not collected
wago tinygo 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.