Skip to content
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Adding example. Mini-benchmark. Complete with webpack/build process/d…
…ocumentation to run.
  • Loading branch information
mini-eggs committed Jun 6, 2017
commit f6dc5c6938fb4a0cf2a08dbd5ad79350687752dc
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
node_modules/
npm-debug.*
webassembly-*.tgz
examples/mini-benchmark/node_modules
examples/mini-benchmark/dist
.DS_Store
12 changes: 12 additions & 0 deletions examples/mini-benchmark/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# Mini Benchmark
Check how long making a simple addition one million times takes in JavaScript vs Webassembly.

#### Setup
$ npm install

#### Development build
$ npm start
Open http://localhost:5000/

#### Production build
$ npm build
Loading