DEV Community

Discussion on: Using WebAssembly with React

Collapse
 
wordythebyrd profile image
Andrew Byrd 🐦

Any performance benefit using WebAssembly here rather than the JS implementation?

Collapse
 
aseem2625 profile image
Aseem Gupta

I have 2 canvas(one JS and one WASM) side by side. On calculating time differences using performance.now() for both, WASM turns out to be taking more time than JS fn. Not sure why.