Skip to content

Instantly share code, notes, and snippets.

@codefromthecrypt
Last active May 17, 2022 20:58
Show Gist options
  • Save codefromthecrypt/48877abc4b3ba5ceca12b312926b1e0a to your computer and use it in GitHub Desktop.
Save codefromthecrypt/48877abc4b3ba5ceca12b312926b1e0a to your computer and use it in GitHub Desktop.
From https://github.com/tetratelabs/wazero/runs/6473296164?check_suite_focus=true
BenchmarkAllocation/Call-16
wazero-compiler 14039.84 ns/op
wasmedge 264615.55 ns/op
BenchmarkFactorial/Call-16
wazero-compiler 1600.76 ns/op
wasmedge 14359.72 ns/op
BenchmarkAllocation/Compile-2 3293992 358.9 ns/op
BenchmarkAllocation/Instantiate-2 391 3081906 ns/op
BenchmarkFactorial/Compile-2 4695198 260.0 ns/op
BenchmarkFactorial/Instantiate-2 22935 48216 ns/op
PASS
ok github.com/tetratelabs/wazero/internal/integration_test/vs/wasmedge 14.400s
/home/runner/work/wazero/wazero
BenchmarkAllocation/Call-16
wasmer 10122.74 ns/op
wazero-compiler 14578.02 ns/op
--- FAIL: TestBenchmarkAllocation_Call_CompilerFastest (3.04s)
require.go:294: expected "wazero-compiler", but was "wasmer": wasmer is faster than wazero-compiler. Run with ensureCompilerFastest=false instead to see the detailed result
/home/runner/work/wazero/wazero/internal/integration_test/vs/bench.go:59
/home/runner/work/wazero/wazero/internal/integration_test/vs/bench_allocation.go:73
/home/runner/work/wazero/wazero/internal/integration_test/vs/wasmer/wasmer_test.go:22
BenchmarkFactorial/Call-16
wazero-compiler 1555.65 ns/op
wasmer 2123.96 ns/op
FAIL
exit status 1
FAIL github.com/tetratelabs/wazero/internal/integration_test/vs/wasmer 6.130s
FAIL
/home/runner/work/wazero/wazero
BenchmarkAllocation/Call-16
wazero-compiler 14843.87 ns/op
wasmtime 15594.44 ns/op
BenchmarkFactorial/Call-16
wazero-compiler 1558.79 ns/op
wasmtime 3576.72 ns/op
BenchmarkAllocation/Compile-2 101972 11473 ns/op
BenchmarkAllocation/Instantiate-2 15 77611648 ns/op
BenchmarkFactorial/Compile-2 127245 10671 ns/op
BenchmarkFactorial/Instantiate-2 1724 702996 ns/op
PASS
ok github.com/tetratelabs/wazero/internal/integration_test/vs/wasmtime 15.160s
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment