Files
swift-nio/Tests
Rick Newton-Rogers fca6ecfdb0 measureRunTime use DispatchTime (#2545)
Motivation:

Using `Date()` in benchmarks leaves us open to the possibility that a
clock update could occur between the start and end times affecting the
measured interval.

Modifications:

Switch `measureRunTime` and related functions to use `DispatchTime`
uptime in nanoseconds to calculate intervals

Result:

Tests should no longer be susceptible to clock updates.
2023-10-11 02:58:16 -07:00
..
2023-04-17 08:40:35 +01:00
2023-04-17 08:40:35 +01:00