mirror of
https://github.com/jstemmer/go-junit-report.git
synced 2025-04-05 21:18:08 -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.
11 lines
484 B
XML
11 lines
484 B
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<testsuites tests="2">
|
|
<testsuite name="pkg/count" tests="2" failures="0" errors="0" id="0" hostname="hostname" time="14.211" timestamp="2022-01-01T00:00:00Z">
|
|
<properties>
|
|
<property name="go.version" value="1.0"></property>
|
|
</properties>
|
|
<testcase name="BenchmarkNew" classname="pkg/count" time="8.820000000"></testcase>
|
|
<testcase name="BenchmarkFew" classname="pkg/count" time="2.555000000"></testcase>
|
|
</testsuite>
|
|
</testsuites>
|