How to measure time spent on response compression for Nginx?

Hi folks:

We want to measure how long Nginx takes to compress certain response
with Gzip format. Is there any way/tool to get accurate timing?

Thanks,
-Wei

— Original message —
From: “Wei Chen” [email protected]
Date: 14 September 2014, 07:18:40

Hi folks:

We want to measure how long Nginx takes to compress certain response
with Gzip format. Is there any way/tool to get accurate timing?

You can find some information about gzip on Calome.Org website.
Nginx Secure SSL Web Server @ Calomel.org (see gzip_comp_level section)