News for hackers. Stuff that matters.
Re:Is WebAssembly magic performance pixie dust? by tiltrus on Wednesday April 14, 2021 @02:05PM (#26810769)
Can you share any benchmarks indicating this?
Re:Is WebAssembly magic performance pixie dust? by admax88q on Wednesday April 14, 2021 @02:47PM (#26811312)
I whipped up one here with a random comment dump from HN. It appears I'm no longer correct.

https://gist.github.com/adamvy/afcace8cbdbe56995626f59f6ea2b...

Load this as a script tag in an html file to run.

Last time I benchmarked this it was true, but that was a number of years ago.

Re:Is WebAssembly magic performance pixie dust? by admax88q on Wednesday April 14, 2021 @02:59PM (#26811484)
Actually, fun fact, if you remove the clearing of the body, the HTML approach is faster.

At least in firefox here.

Benchmarking is difficult.