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.
24 lines
1.0 KiB
XML
24 lines
1.0 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<testsuites tests="3">
|
|
<testsuite name="package/bench" tests="3" failures="0" errors="0" id="0" hostname="hostname" time="1.640" timestamp="2022-01-01T00:00:00Z">
|
|
<properties>
|
|
<property name="go.version" value="1.0"></property>
|
|
</properties>
|
|
<testcase name="TestOne" classname="package/bench" time="0.000">
|
|
<system-out><![CDATA[ bench_test.go:9: test log]]></system-out>
|
|
</testcase>
|
|
<testcase name="BenchmarkOne" classname="package/bench" time="0.264200000">
|
|
<system-out><![CDATA[ bench_test.go:13: benchmark log (1)
|
|
bench_test.go:13: benchmark log (100)
|
|
bench_test.go:13: benchmark log (10000)
|
|
bench_test.go:13: benchmark log (1000000)
|
|
bench_test.go:13: benchmark log (100000000)
|
|
bench_test.go:13: benchmark log (1000000000)]]></system-out>
|
|
</testcase>
|
|
<testcase name="BenchmarkTwo" classname="package/bench" time="1.313804304"></testcase>
|
|
<system-out><![CDATA[goos: linux
|
|
goarch: amd64
|
|
pkg: package/bench]]></system-out>
|
|
</testsuite>
|
|
</testsuites>
|