Re:Comparing Rust and JavaScript
by fizzynut on Friday July 15, 2022 @08:56AM
(#32107635)
I'm curious why a lot of people get a 3x improvement. I get about 6.5-7x speed up, which suspiciously lines up with a 60hz vs 144hz framerate...
[ Parent
| on HN ]
Re:Comparing Rust and JavaScript
by vladvasiliu on Friday July 15, 2022 @09:14AM
(#32107818)
This seems related to the screen size, also.
On my 4k screen (which I run at 100% scaling) on Firefox on Linux I get around 2700 on ES and 7500 on WASM.
But if I reduce the window size to half the screen, I get 3000 for ES and 10000 for WASM.
Viewing via an RDP session to a remote browser and getting about a ~5x speed up with Rust version (~900 vs 5000ish)
Re:Comparing Rust and JavaScript
by wccrawford on Friday July 15, 2022 @02:49PM
(#32111513)
I got 2k vs 12k, so about 6x. I'm running 165hz at 2560x1440.