skyline icon indicating copy to clipboard operation
skyline copied to clipboard

Consider using nanoseconds for internal time measurements

Open geoffxy opened this issue 5 years ago • 0 comments

We currently use milliseconds for time measurements and store the measurements in floating point values. However, when we perform arithmetic on these values, they are susceptible to numerical error.

Our time measurements are precise to the nanosecond. So we should consider using nanoseconds instead, and storing the measurements in integers.

geoffxy avatar Jan 19 '20 21:01 geoffxy