←back to thread

238 points hundredwatt | 2 comments | | HN request time: 0.398s | source
Show context
mosselman ◴[] No.42181990[source]
Hyperfine is great. I use it sometimes for some quick web page benchmarks:

https://abuisman.com/posts/developer-tools/quick-page-benchm...

As mentioned here in the thread, when you want to go into the single ms optimisations it is not the best approach since there is a lot of overhead especially the way I demonstrate here, but it works very well for some sanity checks.

replies(2): >>42183124 #>>42183449 #
llimllib ◴[] No.42183124[source]
I find k6 a lot nicer for HTTP benching, and no slower to set up than hyperfine (which I love for CLI benching): https://k6.io/
replies(1): >>42187060 #
1. jiehong ◴[] No.42187060[source]
Could hyperfine running curl be an alternative?
replies(1): >>42187530 #
2. mosselman ◴[] No.42187530[source]
That is what I do in my blog post.