An open API service indexing awesome lists of open source software.

https://github.com/dcodeio/binaryen-bench

A simple benchmark suite to compare execution times of Binaryen wasm-opt builds.
https://github.com/dcodeio/binaryen-bench

Last synced: 10 months ago
JSON representation

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

Awesome Lists containing this project

README

          

# 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](./builds) (include the `bin` and `lib` folders).

(Optional) Copy fixtures to test with into [fixtures](./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 ...
```