News for hackers. Stuff that matters.
Re:Using Rust in Non-Rust Servers to Improve Performance by loeg on Monday October 28, 2024 @01:05PM (#41973483)
I think your guess is spot on. The QRcode images themselves are 594 and 577 bytes. The vast majority of the difference must be coming from other factors (HTTP headers).

https://news.ycombinator.com/item?id=41973396

Re:Using Rust in Non-Rust Servers to Improve Performance by pretzelhammer on Monday October 28, 2024 @03:14PM (#41974940)
Author here. The benchmarking tool I used for measuring response size was vegeta, which ignores HTTP headers in its measurements. I believe the difference in size is indeed in the QR code images themselves.