Created
July 27, 2014 16:12
-
-
Save dead-horse/adef2f899fae3316154c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /bin/sh | |
while [ 1 ] | |
do | |
START=$(($(date +%s%N)/1000000)) | |
curl -s -i http://localhost:3000 | grep X-Response-Time | |
END=$(($(date +%s%N)/1000000)) | |
DIFF=$((END - START)) | |
echo "receive diff: $DIFF" | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment