Re:Performance Showdown: Rust vs Javascript (2020)
by ricardobeat on Friday February 12, 2021 @08:24AM
(#26113336)
The main flaw in this benchmark is that it's too little work, so the javascript numbers are very close to node's startup time alone.
Running 100 iterations gives you a much better idea of actual performance (JS is over 10x slower) but then you need to think about what compiler optimizations are being applied.
Running 100 iterations gives you a much better idea of actual performance (JS is over 10x slower) but then you need to think about what compiler optimizations are being applied.