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

Benchmark durations were originally formatted with higher precision because they contained just the NsPerOp field. Now that we're approximating the total duration they are more accurate and don't need as many decimals.
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.264">
|
|
<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.314"></testcase>
|
|
<system-out><![CDATA[goos: linux
|
|
goarch: amd64
|
|
pkg: package/bench]]></system-out>
|
|
</testsuite>
|
|
</testsuites>
|