Stopwatch elapsed time in milliseconds, keeping sub-millisecond fractions.
double elapsedMs(Stopwatch sw) => sw.elapsedMicroseconds / 1000.0;