4 ms·
Timing with curl (2010)
- tyingq 5y agoHad no idea curl could do this. If you need a deeper dive, you can do something similar with headless chrome and the chrome remote dev tools protocol. There's a good example with puppeteer, here: https://github.com/addyosmani/puppeteer-webperf#navigation-timing https://github.com/addyosmani/puppeteer-webperf#navigation-t... There are other snippets there that you can turn into text command line tools too.
- deleted 5y ago[deleted]
- cpach 5y agoNice. Had no idea those options where available in curl. TIL!
- cpressland 5y agoI do this quite frequently, but use the following stackoverflow https://stackoverflow.com/questions/18215389/how-do-i-measure-request-and-response-times-at-once-using-curl https://stackoverflow.com/questions/18215389/how-do-i-measur... This blog appears to be much of the same, regardless, good information to get out there.
- mr-karan 5y agoI use https://github.com/davecheney/httpstat https://github.com/davecheney/httpstat whenever I've to do the same