https://github.com/takahirox/webassembly-benchmark
https://github.com/takahirox/webassembly-benchmark
benchmark javascript webassembly
Last synced: 4 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/takahirox/webassembly-benchmark
- Owner: takahirox
- License: mit
- Created: 2017-06-08T08:11:30.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2022-11-27T06:19:38.000Z (over 3 years ago)
- Last Synced: 2025-12-13T17:28:02.535Z (6 months ago)
- Topics: benchmark, javascript, webassembly
- Language: HTML
- Size: 1.58 MB
- Stars: 96
- Watchers: 2
- Forks: 18
- Open Issues: 3
-
Metadata Files:
- Readme: Readme.md
- License: LICENSE
Awesome Lists containing this project
README
# WebAssembly-banchmark
Easy JavaScript vs WebAssembly performance comparison test-set.
## Demo
[Online Demo](https://takahirox.github.io/WebAssembly-benchmark)
## Develop locally
```sh
$ git clone https://github.com/takahirox/WebAssembly-benchmark.git
$ cd WebAssembly-benchmark
$ ./scripts/run_server.sh
# access http://localhost:8080
```
## Note
- In WebAssembly performance measurement, I include data copying between WASM and JS so far because I first wanted to know if we can simply replace JS functions with WASM functions. And even if I allocate WASM memory beforehand and remove copying, WASM is still slower in most of the micro tests. (06/09/2017)