parser/gotest: Add test 25

This commit is contained in:
Joël Stemmer 2019-10-05 19:06:57 +01:00
parent 3676ed3cca
commit 8ef9ea2965

View File

@ -371,7 +371,20 @@ var tests = []struct {
{Type: "summary", Result: "ok", Name: "package3/baz", Duration: 1382 * time.Millisecond},
}},
{"25-benchcount",
[]gtr.Event{}},
[]gtr.Event{
{Type: "benchmark", Name: "BenchmarkNew", Iterations: 5000000, NsPerOp: 350, BytesPerOp: 80, AllocsPerOp: 3},
{Type: "benchmark", Name: "BenchmarkNew", Iterations: 5000000, NsPerOp: 357, BytesPerOp: 80, AllocsPerOp: 3},
{Type: "benchmark", Name: "BenchmarkNew", Iterations: 5000000, NsPerOp: 354, BytesPerOp: 80, AllocsPerOp: 3},
{Type: "benchmark", Name: "BenchmarkNew", Iterations: 5000000, NsPerOp: 358, BytesPerOp: 80, AllocsPerOp: 3},
{Type: "benchmark", Name: "BenchmarkNew", Iterations: 5000000, NsPerOp: 345, BytesPerOp: 80, AllocsPerOp: 3},
{Type: "benchmark", Name: "BenchmarkFew", Iterations: 5000000, NsPerOp: 100, BytesPerOp: 20, AllocsPerOp: 1},
{Type: "benchmark", Name: "BenchmarkFew", Iterations: 5000000, NsPerOp: 105, BytesPerOp: 20, AllocsPerOp: 1},
{Type: "benchmark", Name: "BenchmarkFew", Iterations: 5000000, NsPerOp: 102, BytesPerOp: 20, AllocsPerOp: 1},
{Type: "benchmark", Name: "BenchmarkFew", Iterations: 5000000, NsPerOp: 102, BytesPerOp: 20, AllocsPerOp: 1},
{Type: "benchmark", Name: "BenchmarkFew", Iterations: 5000000, NsPerOp: 102, BytesPerOp: 20, AllocsPerOp: 1},
{Type: "status", Result: "PASS"},
{Type: "summary", Result: "ok", Name: "pkg/count", Duration: 14211 * time.Millisecond},
}},
{"26-testbenchmultiple", []gtr.Event{}},
{"27-benchdecimal", []gtr.Event{}},
{"28-bench-1cpu", []gtr.Event{}},