duration property

double duration

How long the measured block of code took to execute in microseconds.

Implementation

double get duration => end - start;