The Performance of WebAssembly

WebAssembly's performance compared to JavaScript

Function Times ran Duration
Kotlin/Native1 Kotlin/JS JavaScript
fibonacci(1 000) 1 000 Not started Not started Not started
factorial(150) 10 000 Not started Not started Not started
total2 1 Not started Not started Not started

1 wasm32 target

2 Includes time used for changing UI elements