A metric the test uses to measure the time elapsed in a performance test.
- Xcode 11.0+
XCTClock measures the total elapsed time during execution of the block argument to
measure(metrics:. The metric records time monotonically, regardless of changes to the system clock. Its result includes both time spent executing code under test, and time when the CPU is idle or running other code.