5 ms·
That struck me as odd too. It may be just additional HTTP headers added to the response, but then it's hardly fair to use that as a point of comparison and tre
by xnorswap 2y ago
That struck me as odd too.
It may be just additional HTTP headers added to the response, but then it's hardly fair to use that as a point of comparison and treat smaller as "better".
- loeg 2y agoI 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 https://news.ycombinator.com/item?id=41973396
- pretzelhammer 2y agoAuthor 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.