diff --git a/pkg/parser/gotest/gotest_test.go b/pkg/parser/gotest/gotest_test.go index 2a922aa..b3b1494 100644 --- a/pkg/parser/gotest/gotest_test.go +++ b/pkg/parser/gotest/gotest_test.go @@ -385,7 +385,21 @@ var tests = []struct { {Type: "status", Result: "PASS"}, {Type: "summary", Result: "ok", Name: "pkg/count", Duration: 14211 * time.Millisecond}, }}, - {"26-testbenchmultiple", []gtr.Event{}}, + {"26-testbenchmultiple", + []gtr.Event{ + {Type: "output", Data: "pkg: mycode/common"}, + {Type: "benchmark", Name: "BenchmarkParse", Iterations: 1000000, NsPerOp: 1591}, + {Type: "benchmark", Name: "BenchmarkNewTask", Iterations: 3000000, NsPerOp: 391}, + {Type: "status", Result: "PASS"}, + {Type: "summary", Result: "ok", Name: "mycode/common", Duration: 7267 * time.Millisecond}, + {Type: "output", Data: "pkg: mycode/benchmarks/channels"}, + {Type: "benchmark", Name: "BenchmarkFanout/Channel/10", Iterations: 500000, NsPerOp: 4673}, + {Type: "benchmark", Name: "BenchmarkFanout/Channel/100", Iterations: 50000, NsPerOp: 24965}, + {Type: "benchmark", Name: "BenchmarkFanout/Channel/1000", Iterations: 10000, NsPerOp: 195672}, + {Type: "benchmark", Name: "BenchmarkFanout/Channel/10000", Iterations: 500, NsPerOp: 2410200}, + {Type: "status", Result: "PASS"}, + {Type: "summary", Result: "ok", Name: "mycode/benchmarks/channels", Duration: 47084 * time.Millisecond}, + }}, {"27-benchdecimal", []gtr.Event{}}, {"28-bench-1cpu", []gtr.Event{}}, {"29-bench-16cpu", []gtr.Event{}},