Showing posts with label response time. Show all posts
Showing posts with label response time. Show all posts

Monday, February 28, 2011

Get page response time with bash


(time curl URL --head) 2>&1 | grep real | cut -c 6-

for instance

(time curl http://google.com --head) 2>&1 | grep real | cut -c 6-

the response is something like this
0m0.072s