---

How to Measure Elapsed Time in bash

Elapsed time is the amount of wall-clock time that has passed between the beginning and the end of a particular event. This tutorial describes how to measure elapsed time with various resolutions (e.g., in seconds, in milliseconds, in microseconds) in bash.