Skip to content

Latest commit

 

History

History
16 lines (10 loc) · 906 Bytes

README.md

File metadata and controls

16 lines (10 loc) · 906 Bytes

Fibonacci Performance Benchmark: JavaScript Vs. WebAssembly

With the introduction of WebAssembly to the four major browsers (Chrome, FireFox, Safari, Edge), browsers will soon be able to run apps capable of reaching near-native speeds, and magnitudes faster than current JavaScript code. This program compares the performance of finding Fibonacci terms in JavaScript and C++ compiled WebAssembly running in the browser (Macbook 2015, El Capitan).

Installation

  • Go to the EMSDK website and follow the instructions
  • yarn install
  • yarn run compile && yarn start

Miscellaneous