WASM vs JS Performance

The cluster discusses the performance differences between WebAssembly (WASM) and JavaScript in browsers, including benchmarks, speedups for compute-heavy tasks, limitations with DOM manipulation, and comparisons to native code.

📉 Falling 0.4x Web Development
2,999
Comments
15
Years Active
5
Top Authors
#6898
Topic ID

Activity Over Time

2012
1
2013
10
2014
6
2015
30
2016
80
2017
293
2018
335
2019
228
2020
249
2021
306
2022
424
2023
388
2024
317
2025
287
2026
45

Keywords

e.g CPU JIT JS BigInt ARM WebAssembly UDP GPU WASM wasm js webassembly performance javascript faster browser workloads dom native

Sample Comments

sodality2 Feb 12, 2022 View on HN

WASM is more efficient than JS...

moffkalast Aug 4, 2024 View on HN

With WASM it might actually run faster in the browser as well.

vtesucks Dec 3, 2018 View on HN

Are there benchmarks where the wasm engine of a browser beats the Js engine of the same browser in compute heavy code?

neophyt3 May 11, 2020 View on HN

what if wasm become production ready... dont u think that cpu intensive will be native and difference will be somewhat closer?

metreo Jan 6, 2021 View on HN

wasm provides more than _just_ a speed improvement

tempaccount420 Mar 24, 2024 View on HN

Even WASM doesn't have native performance, so I question this claim.

pca006132 Jun 7, 2021 View on HN

Can we save more CPU time if we use wasm to replace js?

Cshelton Mar 15, 2016 View on HN

No, most things will still be done in javascript as the benefit of doing it in Wasm is negligible.

steventey Aug 26, 2022 View on HN

wow, had no idea Wasm is that much faster than JS

dboreham Jun 24, 2021 View on HN

Why would someone think that the purpose of WASM is to speed up JavaScript?