|
|
|
|
|
by exikyut
3025 days ago
|
|
PLEASE NOTE This is NOT a fair and honest comparison. The WebAssembly implementation pegs 100% of one CPU core (as monitored in htop) on my system until it is completed. The JS button sits between 66.2%-66.8% and 19-26% of one core depending on whether the tab is focused or not. The JS version does not use Web Workers. I can, however, see two references to setTimeout(). This leads me to assume that the JS version is being slowed down so that the UI does not lock up. Completely understandable, but patently dishonest, as there is no mention of this fact on the webpage. The JS version should be reimplemented so it can run at 100% speed. |
|
I'm focusing more on a WebGL version, but once that's done, it should be a fairer comparison.