Skip to content

dcodeIO/binaryen-bench

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

binaryen-bench

A very simple benchmark suite to compare execution times of Binaryen wasm-opt builds.

Instructions

Put the wasm-opt builds to benchmark into subdirectories within builds (include the bin and lib folders).

(Optional) Copy fixtures to test with into fixtures. These do not become executed, but are solely used as inputs.

To run the benchmark:

npm install
npm test

It's also possible to specify command line arguments other than -O, which is the default:

npm test -- -Oz --enable-simd ...

About

A simple benchmark suite to compare execution times of Binaryen wasm-opt builds.

Resources

Stars

Watchers

Forks