Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix elapsedMicros always returning zero (#98)
* Fix elapsedMicros always returning zero `$this->start` and `$this->end` have the same unit, inferred via `endTime()`. That function adds the two without doing a unit conversion first. `$this->start` has the unit seconds. `elapsedMicros()` used to divide by 1_000_000 and return megaseconds. By swapping the division with a multiplication, `elapsedMicros()` now returns microseconds. * Remove underscores from numeric literal
- Loading branch information