Hacker News new | ask | show | jobs
by ph4evers 1342 days 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-...
2 comments

> 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.

Archived here: https://web.archive.org/web/20220927051406/https://medium.co...

(though medium seems to resist archive.org by reloading the page indefinitely)