How to Time HTTP Requests with CURL

The aim of this page📝 is to share a simple trick to time curl requests, implemented in powershell, taken from How do I measure request and response times at once using cURL? — Stack Overflow

  • Create curl_format.txt and put the following (keep \n it may be parsed into a newline on Win machines!)
  • Navigate the function to the text file (or put it into PATH/PATHEXT Environmental variables), my implementation in PowerShell’s $profile is.
  • Run it

LINKS

--

--

Infrastructure Support Engineer/Technical Writer (snowplow.io) with a passion for Python/writing documentation. More about me: https://pavol.kutaj.com

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Pavol Kutaj

Infrastructure Support Engineer/Technical Writer (snowplow.io) with a passion for Python/writing documentation. More about me: https://pavol.kutaj.com