4 ms·
Seems a bit of a general theme. Not long ago I saw an article claiming Bun was faster than Rust Hyper webserver, but the author forgot to turn off debug mode. A
by ph4evers 4y ago
Seems a bit of a general theme. Not long ago I saw an article claiming Bun was faster than Rust Hyper webserver, but the author forgot to turn off debug mode. Article is gone now: https://medium.com/cooking-with-bun/hello-world-performance-bun-vs-rust-583ef6ac4929 https://medium.com/cooking-with-bun/hello-world-performance-...
- ryanwhitney 4y agoArchived here: https://web.archive.org/web/20220927051406/https://medium.com/cooking-with-bun/hello-world-performance-bun-vs-rust-583ef6ac4929 https://web.archive.org/web/20220927051406/https://medium.co... (though medium seems to resist archive.org by reloading the page indefinitely)
- wdroz 4y ago> forgot to turn off debug mode This is almost a meme in the Rust subreddit at this point. So many times, people come, post some kind of benchmark claiming that Rust is slower than X. Then after some back-and-forth discussion/tests, we found out that the release mode wasn't used.