mirror of
https://github.com/jstemmer/go-junit-report.git
synced 2025-04-05 13:08:07 -05:00

The NsPerOp was previously casted to a time.Duration (int64) before multiplying it with the number of iterations. This has been fixed by doing the casting after the multiplication. The resulting duration should be a bit more accurate.