parser/gotest: Add test 26

This commit is contained in:
Joël Stemmer 2019-10-05 19:09:43 +01:00
parent 8ef9ea2965
commit be29a47155

View File

@ -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{}},