Cheat Sheet on Curl Latency Metrics: how to benchmark server latency with curl (speedtestdemon.com) 6 points by tempodox 5y ago ↗ HN
[–] user_agent 5y ago ↗ I'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 ago ↗ that 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 ago ↗ My 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.
[–] friendlygenius 5y ago ↗ that 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 ago ↗ My 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.
[–] user_agent 5y ago ↗ My 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.
3 comments
[ 3.0 ms ] story [ 18.9 ms ] threadCan you paste the command you're using to get that output?
Thank you for pointing me in the right direction. With the $ problem corrected, everything works perfect.