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.
- Host: GitHub
- URL: https://github.com/dcodeio/binaryen-bench
- Owner: dcodeIO
- Created: 2020-08-11T22:46:55.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2020-08-12T01:48:03.000Z (over 5 years ago)
- Last Synced: 2025-02-07T15:15:46.072Z (11 months ago)
- Language: JavaScript
- Homepage:
- Size: 6.5 MB
- Stars: 0
- Watchers: 4
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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 ...
```