I often find it useful to isolate network latency from request processing latency. Guess what? The venerable curl can help.

https://blog.kenweiner.com/2014/11/http-request-timings-with-curl.html