Hi folks,

We are trying to do some performance tests for Mesos, and intend to add log
to output the time duration for different kinds of operation. There is a
Stopwatch class that can calculate the time elapsed for a blocking call.
However, I am wondering if there is some utility to record the time elapsed
for a async call chain. For instance, Mesos always have a chain like
 future.then(xxx).onAny.....  Is there anyway to calculate the whole time
elapsed of this kind of chain instead of printing out the time stamp?

Thanks.

Regards
Qiu Jian