News for hackers. Stuff that matters.
Re:Why people in Google hate Go? by jiripospisil on Friday November 03, 2023 @08:11AM (#38127537)
> Now it’s still slower by ~0.1s

Not for me. Printing HTTPie's version takes longer than to finish a real http request with xh. I suspect it's because I'm testing it on a relatively old server where the differences are even more pronounced.

https://gist.github.com/jiripospisil/d0de1355d534a19af2334de...

I'm using HTTPie 3.2.1 because Arch doesn't have the latest version available but based on the release notes that shouldn't make a difference.

Re:Why people in Google hate Go? by jkbr on Friday November 03, 2023 @09:51AM (#38128756)
Gotcha. Would you mind checking if you happen to have PyOpenSSL installed inside the Python environment HTTPie runs from?
Re:Why people in Google hate Go? by jiripospisil on Friday November 03, 2023 @10:23AM (#38129190)
I did not have it installed. Installing it did not make a difference. If it's of any help, here's a profile generated using cProfile. https://gist.github.com/jiripospisil/d492f67453d4aa8723432aa...
Re:Why people in Google hate Go? by jkbr on Friday November 03, 2023 @10:24AM (#38129228)
Thanks!