TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Timing with Curl (2010)

89 点作者 kamaraju将近 2 年前

6 条评论

donatj将近 2 年前
Oh this is fantastic. I had no idea curl could even do this sort of thing. Every time I think I have my head around everything curl can do, I am proven wrong. It really is an amazing tool that enables so many things.
评论 #37134311 未加载
hassy将近 2 年前
curl is fantastic. There&#x27;s also HTTPStat which provides a waterfall visualization on top of curl timings: <a href="https:&#x2F;&#x2F;github.com&#x2F;reorx&#x2F;httpstat">https:&#x2F;&#x2F;github.com&#x2F;reorx&#x2F;httpstat</a><p>There&#x27;s also Skytrace (made by yours truly), which provides timing info as a waterfall visualization inspired by HTTPStat + lots more (syntax highlighting for responses, built-in JMESPath support, command-line assertions and checks etc) - <a href="https:&#x2F;&#x2F;github.com&#x2F;artilleryio&#x2F;artillery&#x2F;tree&#x2F;main&#x2F;packages&#x2F;skytrace#skytrace-ping">https:&#x2F;&#x2F;github.com&#x2F;artilleryio&#x2F;artillery&#x2F;tree&#x2F;main&#x2F;packages&#x2F;...</a>
dheera将近 2 年前
Nit:<p>&gt; Here is the same command written as a one-liner<p>Maybe don&#x27;t include the &quot;\n&quot; in the triple-click selection so that one can inspect it before hitting enter. Currently it copies the &quot;\n&quot; to the clipboard and then when you paste in the terminal it directly executes.
评论 #37141998 未加载
flas9sd将近 2 年前
great for doing measurements in a cron to later plot them. Here someone measured TLS version latencies on gov.uk - <a href="https:&#x2F;&#x2F;nooshu.com&#x2F;blog&#x2F;2020&#x2F;07&#x2F;30&#x2F;measuring-tls-13-ipv4-ipv6-performance&#x2F;" rel="nofollow noreferrer">https:&#x2F;&#x2F;nooshu.com&#x2F;blog&#x2F;2020&#x2F;07&#x2F;30&#x2F;measuring-tls-13-ipv4-ipv...</a> and has a good graph explaining the time_* variables
tra3将近 2 年前
curl is such an amazing tool. Most of my coworkers are not comfortable with the command line and prefer to use GUI tools like postman. Having curl as part of your shell&#x27;s history is a minor super power.<p>What was that API end point that was failing 3 months ago with a weird status?<p>1. Hit C-r for reverse search (bonus if you&#x27;ve got fzf installed) 2. Type a partial URL 3. Identify the curl command you want, and hit enter.<p>I recently used timing support (as described in the article). I actually found it in AWS docs when I was trying to understand why things weren&#x27;t as fast as expected. Now it&#x27;s in permanent record in my shell.<p>Anyway, +1 for curl.
评论 #37136835 未加载
AdamJacobMuller将近 2 年前
--trace-time is also great in curl