Posted By

kurokikaze on 06/01/10


Tagged

curl gzip moddeflate


Versions (?)

Who likes this?

1 person have marked this snippet as a favorite

ceer


Test Gzip times with CURL


 / Published in: Bash
 

  1. # Time with Gzip:
  2. curl http://www.example.com --silent -H "Accept-Encoding: gzip,deflate" --write-out "time_total=%{time_total}\n" --output /dev/null
  3.  
  4. #Time without Gzip:
  5. curl http://www.example.com --silent --write-out "time_total=%{time_total}\n" --output /dev/null

Report this snippet  

You need to login to post a comment.