All Wasm benchmarks

Current benchmark data was generated on Tue Jan 18 2022, full log can be found HERE

CONTRIBUTIONS are WELCOME!

[x86_64][2 cores] Intel(R) Xeon(R) Platinum 8370C CPU @ 2.80GHz

binarytrees

Input: 18

code time stddev peak-mem mem time(user) time(kernel) compiler compiler/runtime
3.rs 2041ms 3.0ms 43.6MB 2020ms 7ms wasmedgec 0.9.0
4.rs 2064ms 5.0ms 27.6MB 2040ms 7ms wasmedgec 0.9.0
3.rs 2720ms 20ms 74.3MB 2683ms 23ms wasmer/LLVM 2.1.1
4.rs 2851ms 12ms 58.3MB 2827ms 7ms wasmer/LLVM 2.1.1
4.rs 2926ms 49ms 61.9MB 2923ms 20ms node 16.13.2
3.rs 2986ms 41ms 74.3MB 2980ms 20ms node 16.13.2
3.rs 3112ms 76ms 65.8MB 3120ms 23ms deno 1.17.3
4.rs 3161ms 43ms 47.9MB 3213ms 13ms deno 1.17.3
4.rs 3289ms 39ms 26.3MB 3273ms 3ms wasmtime 0.33.0
3.rs 3333ms 56ms 42.3MB 3317ms 3ms wasmtime 0.33.0
3.rs 3461ms 18ms 74.7MB 3427ms 17ms wasmer/Cranelift 2.1.1
4.rs 3597ms 40ms 58.7MB 3573ms 10ms wasmer/Cranelift 2.1.1

Input: 14

code time stddev peak-mem mem time(user) time(kernel) compiler compiler/runtime
3.rs 103ms 0.7ms 13.6MB 90ms 0ms wasmedgec 0.9.0
4.rs 109ms 3.1ms 12.5MB 97ms 0ms wasmedgec 0.9.0
3.rs 135ms 0.6ms 44.4MB 117ms 3ms wasmer/LLVM 2.1.1
4.rs 141ms 2.0ms 43.4MB 123ms 7ms wasmer/LLVM 2.1.1
4.rs 160ms 1.4ms 11.4MB 150ms 0ms wasmtime 0.33.0
3.rs 164ms 1.2ms 12.4MB 150ms 0ms wasmtime 0.33.0
3.rs 172ms 5.9ms 45.0MB 157ms 0ms wasmer/Cranelift 2.1.1
4.rs 177ms 0.5ms 43.8MB 157ms 3ms wasmer/Cranelift 2.1.1
4.rs 194ms 1.8ms 33.3MB 253ms 3ms deno 1.17.3
3.rs 196ms 6.7ms 34.1MB 250ms 3ms deno 1.17.3
4.rs 206ms 1.9ms 42.5MB 213ms 10ms node 16.13.2
3.rs 212ms 4.9ms 44.1MB 220ms 7ms node 16.13.2
4.rs 1410ms 25ms 593.2MB 2427ms 287ms wasm/graal 21.3.0
3.rs 1666ms 344ms 604.2MB 2607ms 263ms wasm/graal 21.3.0

coro-prime-sieve

Input: 4000

code time stddev peak-mem mem time(user) time(kernel) compiler compiler/runtime
3.rs 1271ms 48ms 45.7MB 1253ms 3ms wasmer/LLVM 2.1.1
3.rs 1425ms 43ms 48.8MB 1470ms 13ms node 16.13.2
3.rs 1652ms 10ms 14.3MB 1640ms 0ms wasmtime 0.33.0
3.rs 1760ms 5.5ms 41.6MB 1923ms 13ms deno 1.17.3
3.rs 1910ms 53ms 46.3MB 1893ms 0ms wasmer/Cranelift 2.1.1

Input: 1000

code time stddev peak-mem mem time(user) time(kernel) compiler compiler/runtime
3.rs 94ms 1.3ms 44.4MB 70ms 10ms wasmer/LLVM 2.1.1
3.rs 118ms 2.4ms 11.1MB 107ms 0ms wasmtime 0.33.0
3.rs 135ms 4.6ms 46.0MB 120ms 0ms wasmer/Cranelift 2.1.1
3.rs 208ms 6.8ms 48.3MB 263ms 3ms node 16.13.2
3.rs 261ms 50ms 41.5MB 393ms 20ms deno 1.17.3

edigits

Input: 250001

code time stddev peak-mem mem time(user) time(kernel) compiler compiler/runtime
1.rs 467ms 0.3ms 17.1MB 447ms 3ms wasmedgec 0.9.0
1.rs 479ms 2.7ms 43.9MB 463ms 0ms wasmer/LLVM 2.1.1
1.rs 605ms 2.2ms 11.8MB 593ms 0ms wasmtime 0.33.0
1.rs 607ms 6.1ms 45.2MB 587ms 0ms wasmer/Cranelift 2.1.1
1.rs 753ms 3.4ms 37.1MB 917ms 13ms deno 1.17.3
1.rs 754ms 10ms 49.5MB 797ms 10ms node 16.13.2

Input: 100000

code time stddev peak-mem mem time(user) time(kernel) compiler compiler/runtime
1.rs 131ms 1.3ms 43.4MB 117ms 3ms wasmer/LLVM 2.1.1
1.rs 133ms 0.6ms 16.4MB 120ms 0ms wasmedgec 0.9.0
1.rs 162ms 0.8ms 13.1MB 150ms 3ms wasmtime 0.33.0
1.rs 164ms 1.7ms 44.6MB 150ms 0ms wasmer/Cranelift 2.1.1
1.rs 252ms 4.1ms 38.0MB 410ms 13ms deno 1.17.3
1.rs 281ms 2.3ms 49.6MB 330ms 10ms node 16.13.2

fasta

Input: 2500000

code time stddev peak-mem mem time(user) time(kernel) compiler compiler/runtime
1.rs 437ms 27ms 12.3MB 320ms 27ms wasmedgec 0.9.0
1.rs 450ms 17ms 10.9MB 360ms 20ms wasmtime 0.33.0
1.rs 457ms 24ms 42.7MB 350ms 23ms wasmer/LLVM 2.1.1
1.rs 551ms 48ms 42.9MB 390ms 23ms wasmer/Cranelift 2.1.1
1.rs 578ms 45ms 42.0MB 473ms 33ms node 16.13.2
1.rs 749ms 45ms 34.4MB 613ms 23ms deno 1.17.3

Input: 250000

code time stddev peak-mem mem time(user) time(kernel) compiler compiler/runtime
1.rs 53ms 1.8ms 12.0MB 30ms 3ms wasmedgec 0.9.0
1.rs 65ms 10ms 42.7MB 37ms 3ms wasmer/LLVM 2.1.1
1.rs 66ms 18ms 11.0MB 37ms 0ms wasmtime 0.33.0
1.rs 66ms 4.7ms 43.1MB 40ms 0ms wasmer/Cranelift 2.1.1
1.rs 130ms 2.0ms 42.0MB 140ms 10ms node 16.13.2
1.rs 188ms 50ms 34.3MB 183ms 3ms deno 1.17.3

helloworld

Input: QwQ

code time stddev peak-mem mem time(user) time(kernel) compiler compiler/runtime
1.rs 8.3ms 1.1ms 10.6MB 0ms 0ms wasmtime 0.33.0
1.rs 11ms 0.8ms 11.3MB 0ms 0ms wasmedgec 0.9.0
1.rs 12ms 1.3ms 42.4MB 0ms 0ms wasmer/LLVM 2.1.1
1.rs 12ms 1.2ms 30.5MB 10ms 0ms wasm/graal 21.3.0
1.rs 12ms 0.9ms 42.8MB 0ms 0ms wasmer/Cranelift 2.1.1
1.rs 34ms 3.3ms 32.1MB 26ms 2ms deno 1.17.3
1.rs 74ms 2.0ms 41.4MB 90ms 2ms node 16.13.2

lru

Input: 5000000

code time stddev peak-mem mem time(user) time(kernel) compiler compiler/runtime
1.rs 360ms 25ms 42.2MB 343ms 0ms wasmer/LLVM 2.1.1
1.rs 360ms 15ms 12.0MB 347ms 0ms wasmedgec 0.9.0
1.rs 479ms 14ms 10.3MB 467ms 0ms wasmtime 0.33.0
1.rs 532ms 4.1ms 42.8MB 547ms 10ms node 16.13.2
1.rs 537ms 7.3ms 43.0MB 520ms 0ms wasmer/Cranelift 2.1.1
1.rs 1068ms 25ms 32.7MB 1130ms 3ms deno 1.17.3

Input: 1000000

code time stddev peak-mem mem time(user) time(kernel) compiler compiler/runtime
1.rs 82ms 2.2ms 42.2MB 70ms 0ms wasmer/LLVM 2.1.1
1.rs 85ms 5.3ms 12.0MB 70ms 0ms wasmedgec 0.9.0
1.rs 105ms 1.3ms 11.1MB 100ms 0ms wasmtime 0.33.0
1.rs 112ms 0.4ms 43.0MB 97ms 3ms wasmer/Cranelift 2.1.1
1.rs 177ms 2.6ms 43.1MB 190ms 3ms node 16.13.2
1.rs 247ms 5.3ms 32.5MB 317ms 7ms deno 1.17.3

Input: 500000

code time stddev peak-mem mem time(user) time(kernel) compiler compiler/runtime
1.rs 46ms 1.5ms 42.6MB 33ms 0ms wasmer/LLVM 2.1.1
1.rs 49ms 1.2ms 12.1MB 33ms 0ms wasmedgec 0.9.0
1.rs 55ms 0.8ms 9.0MB 50ms 0ms wasmtime 0.33.0
1.rs 66ms 2.9ms 43.2MB 47ms 3ms wasmer/Cranelift 2.1.1
1.rs 131ms 1.7ms 43.0MB 147ms 7ms node 16.13.2
1.rs 149ms 4.0ms 34.4MB 223ms 3ms deno 1.17.3

nbody

Input: 5000000

code time stddev peak-mem mem time(user) time(kernel) compiler compiler/runtime
2.rs 426ms 4.8ms 13.0MB 413ms 0ms wasmedgec 0.9.0
2.rs 434ms 6.4ms 42.5MB 420ms 0ms wasmer/LLVM 2.1.1
1.rs 443ms 3.0ms 13.0MB 430ms 0ms wasmedgec 0.9.0
1.rs 455ms 2.3ms 42.5MB 437ms 3ms wasmer/LLVM 2.1.1
1.rs 474ms 0.3ms 9.3MB 470ms 0ms wasmtime 0.33.0
1.rs 485ms 0.2ms 43.3MB 470ms 7ms wasmer/Cranelift 2.1.1
2.rs 506ms 0.6ms 10.9MB 490ms 0ms wasmtime 0.33.0
2.rs 516ms 0.3ms 43.2MB 500ms 0ms wasmer/Cranelift 2.1.1
2.rs 585ms 5.1ms 46.6MB 603ms 10ms node 16.13.2
1.rs 586ms 3.6ms 46.2MB 607ms 7ms node 16.13.2
2.rs 797ms 7.2ms 34.6MB 883ms 7ms deno 1.17.3
1.rs 1088ms 3.2ms 35.2MB 1187ms 3ms deno 1.17.3
1.rs 3378ms 6.0ms 134.9MB 3463ms 33ms wasm/graal 21.3.0
2.rs 3855ms 7.2ms 199.5MB 4050ms 80ms wasm/graal 21.3.0

Input: 500000

code time stddev peak-mem mem time(user) time(kernel) compiler compiler/runtime
2.rs 54ms 0.1ms 13.0MB 43ms 3ms wasmedgec 0.9.0
1.rs 55ms 0.3ms 13.0MB 43ms 0ms wasmedgec 0.9.0
2.rs 55ms 1.2ms 42.4MB 43ms 0ms wasmer/LLVM 2.1.1
1.rs 55ms 0.2ms 11.0MB 50ms 0ms wasmtime 0.33.0
1.rs 57ms 0.4ms 42.8MB 43ms 0ms wasmer/LLVM 2.1.1
2.rs 59ms 0.3ms 9.5MB 50ms 0ms wasmtime 0.33.0
1.rs 60ms 0.9ms 43.2MB 43ms 3ms wasmer/Cranelift 2.1.1
2.rs 63ms 0.2ms 43.3MB 47ms 3ms wasmer/Cranelift 2.1.1
2.rs 133ms 21ms 35.6MB 207ms 10ms deno 1.17.3
2.rs 143ms 2.6ms 46.6MB 167ms 3ms node 16.13.2
1.rs 144ms 1.8ms 46.6MB 160ms 10ms node 16.13.2
1.rs 146ms 4.2ms 34.5MB 230ms 3ms deno 1.17.3
1.rs 615ms 2.7ms 135.0MB 697ms 37ms wasm/graal 21.3.0
2.rs 979ms 3.4ms 196.0MB 1180ms 67ms wasm/graal 21.3.0

Input: 100000

code time stddev peak-mem mem time(user) time(kernel) compiler compiler/runtime
1.rs 20ms 0.5ms 13.0MB 10ms 0ms wasmedgec 0.9.0
2.rs 21ms 1.3ms 9.4MB 10ms 0ms wasmtime 0.33.0
1.rs 21ms 3.2ms 9.5MB 10ms 0ms wasmtime 0.33.0
1.rs 21ms 1.6ms 42.4MB 10ms 0ms wasmer/LLVM 2.1.1
2.rs 22ms 1.5ms 42.5MB 7ms 3ms wasmer/LLVM 2.1.1
2.rs 22ms 0.1ms 13.1MB 10ms 0ms wasmedgec 0.9.0
1.rs 22ms 1.2ms 43.3MB 7ms 3ms wasmer/Cranelift 2.1.1
2.rs 24ms 0.9ms 43.5MB 10ms 0ms wasmer/Cranelift 2.1.1
2.rs 50ms 3.1ms 35.2MB 57ms 3ms deno 1.17.3
1.rs 55ms 2.0ms 34.9MB 63ms 7ms deno 1.17.3
2.rs 104ms 1.5ms 46.3MB 123ms 10ms node 16.13.2
1.rs 106ms 0.9ms 46.5MB 120ms 17ms node 16.13.2
1.rs 363ms 1.3ms 132.3MB 433ms 47ms wasm/graal 21.3.0
2.rs 727ms 12ms 199.3MB 953ms 57ms wasm/graal 21.3.0

nsieve

Input: 12

code time stddev peak-mem mem time(user) time(kernel) compiler compiler/runtime
2.rs 625ms 6.0ms 16.6MB 613ms 0ms wasmedgec 0.9.0
2.rs 715ms 7.4ms 47.2MB 697ms 3ms wasmer/LLVM 2.1.1
2.rs 735ms 10ms 46.3MB 750ms 3ms node 16.13.2
2.rs 740ms 12ms 15.1MB 723ms 0ms wasmtime 0.33.0
2.rs 767ms 0.7ms 47.6MB 753ms 3ms wasmer/Cranelift 2.1.1
1.rs 855ms 24ms 81.8MB 837ms 3ms wasmer/Cranelift 2.1.1
1.rs 888ms 24ms 50.6MB 870ms 7ms wasmedgec 0.9.0
1.rs 912ms 76ms 81.7MB 913ms 17ms node 16.13.2
1.rs 939ms 27ms 81.5MB 900ms 23ms wasmer/LLVM 2.1.1
1.rs 1012ms 85ms 49.5MB 993ms 3ms wasmtime 0.33.0
1.rs 1912ms 43ms 73.6MB 1967ms 10ms deno 1.17.3
2.rs 2482ms 18ms 39.0MB 2537ms 3ms deno 1.17.3

Input: 10

code time stddev peak-mem mem time(user) time(kernel) compiler compiler/runtime
1.rs 149ms 1.8ms 21.5MB 137ms 3ms wasmedgec 0.9.0
1.rs 153ms 1.4ms 52.1MB 130ms 10ms wasmer/LLVM 2.1.1
2.rs 155ms 0.2ms 12.8MB 143ms 0ms wasmedgec 0.9.0
1.rs 164ms 1.9ms 52.7MB 150ms 0ms wasmer/Cranelift 2.1.1
1.rs 166ms 2.3ms 20.1MB 153ms 0ms wasmtime 0.33.0
2.rs 177ms 1.4ms 43.6MB 163ms 0ms wasmer/LLVM 2.1.1
2.rs 179ms 0.9ms 11.6MB 170ms 0ms wasmtime 0.33.0
2.rs 192ms 1.1ms 43.8MB 177ms 0ms wasmer/Cranelift 2.1.1
1.rs 229ms 3.3ms 52.4MB 227ms 13ms node 16.13.2
2.rs 230ms 1.5ms 43.3MB 243ms 0ms node 16.13.2
1.rs 448ms 50ms 44.4MB 477ms 13ms deno 1.17.3
2.rs 649ms 61ms 35.5MB 680ms 7ms deno 1.17.3
1.rs 1722ms 42ms 335.6MB 2493ms 130ms wasm/graal 21.3.0
2.rs 2318ms 14ms 368.9MB 3653ms 160ms wasm/graal 21.3.0

pidigits

Input: 8000

code time stddev peak-mem mem time(user) time(kernel) compiler compiler/runtime
2.rs 3662ms 1.0ms 16.8MB 3650ms 0ms wasmedgec 0.9.0
2.rs 3683ms 1.9ms 43.6MB 3667ms 0ms wasmer/LLVM 2.1.1
2.rs 4153ms 4.6ms 49.1MB 4193ms 13ms node 16.13.2

Input: 4000

code time stddev peak-mem mem time(user) time(kernel) compiler compiler/runtime
2.rs 870ms 0.7ms 16.5MB 853ms 0ms wasmedgec 0.9.0
2.rs 871ms 0.8ms 43.1MB 853ms 0ms wasmer/LLVM 2.1.1
2.rs 1051ms 2.8ms 48.8MB 1103ms 7ms node 16.13.2
2.rs 1220ms 1.8ms 10.7MB 1207ms 0ms wasmtime 0.33.0
2.rs 1221ms 1.0ms 44.5MB 1210ms 0ms wasmer/Cranelift 2.1.1
2.rs 1329ms 0.9ms 38.1MB 1497ms 7ms deno 1.17.3

Input: 1000

code time stddev peak-mem mem time(user) time(kernel) compiler compiler/runtime
2.rs 62ms 1.6ms 42.2MB 47ms 3ms wasmer/LLVM 2.1.1
2.rs 65ms 0.4ms 16.3MB 50ms 0ms wasmedgec 0.9.0
2.rs 79ms 0.8ms 11.0MB 70ms 0ms wasmtime 0.33.0
2.rs 84ms 1.3ms 44.2MB 63ms 7ms wasmer/Cranelift 2.1.1
2.rs 164ms 4.6ms 37.9MB 267ms 10ms deno 1.17.3
2.rs 182ms 3.8ms 48.9MB 230ms 10ms node 16.13.2

secp256k1

Input: 5000

code time stddev peak-mem mem time(user) time(kernel) compiler compiler/runtime
0.rs 899ms 0.7ms 13.7MB 887ms 3ms wasmedgec 0.9.0
0.rs 985ms 5.7ms 42.2MB 970ms 0ms wasmer/LLVM 2.1.1
0.rs 1037ms 0.8ms 11.2MB 1027ms 0ms wasmtime 0.33.0
0.rs 1039ms 5.5ms 43.6MB 1023ms 0ms wasmer/Cranelift 2.1.1
0.rs 1131ms 5.8ms 46.1MB 1157ms 10ms node 16.13.2
0.rs 1215ms 1.0ms 34.2MB 1320ms 0ms deno 1.17.3

Input: 500

code time stddev peak-mem mem time(user) time(kernel) compiler compiler/runtime
0.rs 102ms 0.9ms 13.7MB 90ms 0ms wasmedgec 0.9.0
0.rs 108ms 0.4ms 42.5MB 93ms 0ms wasmer/LLVM 2.1.1
0.rs 112ms 0.8ms 9.6MB 103ms 0ms wasmtime 0.33.0
0.rs 116ms 1.5ms 43.7MB 100ms 0ms wasmer/Cranelift 2.1.1
0.rs 204ms 2.3ms 46.5MB 220ms 13ms node 16.13.2
0.rs 224ms 50ms 36.7MB 283ms 10ms deno 1.17.3
1.rs 1091ms 1.0ms 16.5MB 1077ms 0ms wasmedgec 0.9.0
1.rs 1160ms 1.1ms 42.8MB 1140ms 7ms wasmer/LLVM 2.1.1
1.rs 1344ms 21ms 53.1MB 1390ms 13ms node 16.13.2
1.rs 1461ms 3.9ms 11.7MB 1443ms 3ms wasmtime 0.33.0
1.rs 1479ms 8.7ms 38.3MB 1657ms 17ms deno 1.17.3
1.rs 1512ms 2.9ms 44.4MB 1497ms 0ms wasmer/Cranelift 2.1.1

Input: 50

code time stddev peak-mem mem time(user) time(kernel) compiler compiler/runtime
0.rs 20ms 1.2ms 9.5MB 10ms 0ms wasmtime 0.33.0
0.rs 21ms 1.4ms 42.6MB 10ms 0ms wasmer/LLVM 2.1.1
0.rs 24ms 3.9ms 13.6MB 10ms 0ms wasmedgec 0.9.0
0.rs 26ms 2.4ms 43.6MB 10ms 0ms wasmer/Cranelift 2.1.1
0.rs 77ms 12ms 36.1MB 60ms 10ms deno 1.17.3
0.rs 108ms 3.1ms 46.3MB 137ms 3ms node 16.13.2
1.rs 124ms 0.6ms 16.5MB 110ms 0ms wasmedgec 0.9.0
1.rs 128ms 0.6ms 42.4MB 110ms 7ms wasmer/LLVM 2.1.1
1.rs 156ms 1.0ms 12.6MB 143ms 0ms wasmtime 0.33.0
1.rs 164ms 1.3ms 44.5MB 147ms 3ms wasmer/Cranelift 2.1.1
1.rs 254ms 1.6ms 53.3MB 313ms 7ms node 16.13.2
1.rs 257ms 3.5ms 38.3MB 433ms 13ms deno 1.17.3

spectral-norm

Input: 8000

code time stddev peak-mem mem time(user) time(kernel) compiler compiler/runtime
2.rs 4131ms 0.8ms 13.6MB 4117ms 0ms wasmedgec 0.9.0
2.rs 4263ms 1.9ms 47.6MB 4287ms 3ms node 16.13.2
2.rs 4405ms 1.0ms 42.8MB 4393ms 0ms wasmer/LLVM 2.1.1
2.rs 4437ms 56ms 38.3MB 4493ms 10ms deno 1.17.3
2.rs 4477ms 0.4ms 43.4MB 4460ms 0ms wasmer/Cranelift 2.1.1
2.rs 4587ms 6.3ms 12.5MB 4570ms 0ms wasmtime 0.33.0

Input: 4000

code time stddev peak-mem mem time(user) time(kernel) compiler compiler/runtime
2.rs 1043ms 0.3ms 13.5MB 1030ms 0ms wasmedgec 0.9.0
2.rs 1110ms 0.4ms 42.2MB 1093ms 0ms wasmer/LLVM 2.1.1
2.rs 1130ms 1.7ms 43.4MB 1113ms 3ms wasmer/Cranelift 2.1.1
2.rs 1137ms 3.1ms 47.9MB 1157ms 7ms node 16.13.2
2.rs 1153ms 0.5ms 11.0MB 1140ms 0ms wasmtime 0.33.0
2.rs 1160ms 0.5ms 36.9MB 1253ms 7ms deno 1.17.3
2.rs 4276ms 6.3ms 321.3MB 4950ms 117ms wasm/graal 21.3.0

Input: 1000

code time stddev peak-mem mem time(user) time(kernel) compiler compiler/runtime
2.rs 78ms 1.1ms 13.2MB 67ms 0ms wasmedgec 0.9.0
2.rs 81ms 1.2ms 11.1MB 70ms 0ms wasmtime 0.33.0
2.rs 81ms 1.7ms 42.8MB 70ms 0ms wasmer/LLVM 2.1.1
2.rs 84ms 2.7ms 43.4MB 67ms 3ms wasmer/Cranelift 2.1.1
2.rs 160ms 5.5ms 47.3MB 180ms 10ms node 16.13.2
2.rs 174ms 54ms 36.8MB 237ms 10ms deno 1.17.3
2.rs 704ms 4.7ms 317.8MB 1097ms 140ms wasm/graal 21.3.0