3 ms·
Cheat Sheet on Curl Latency Metrics: how to benchmark server latency with curl
- user_agent 5y agoI'm trying to use curl the mentioned way via Windows' WSL. It only partially works - the summary is correct, but the compound values are all zeros. Ideas why? time_namelookup: 0.000000s time_connect: 0.000000s time_appconnect: 0.000000s time_pretransfer: 0.000000s time_redirect: 0.000000s time_starttransfer: 0.000000s ---------- time_total: 0.001618s
- friendlygenius 5y agothat output can happen if you're trying to curl a nonexistent URL. Can you paste the command you're using to get that output?
- user_agent 5y agoMy mistake, I left the $ sign before the URL by accident. Yesterday was late when I was trying that and I made a noob mistake. Thank you for pointing me in the right direction. With the $ problem corrected, everything works perfect.