Skip to content

Commit

Permalink
Don't include cpu: ... line before every benchmark run in `tools/be…
Browse files Browse the repository at this point in the history
…nchmark-query-engine` (#9142)
  • Loading branch information
charleskorn authored Aug 30, 2024
1 parent 65c1332 commit 6d2494b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/benchmark-query-engine/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -329,7 +329,7 @@ func (a *app) runTestCase(name string, printBenchmarkHeader bool) error {
outputLines := strings.Split(strings.TrimSpace(buf.String()), "\n")

for _, l := range outputLines {
isBenchmarkHeaderLine := strings.HasPrefix(l, "goos") || strings.HasPrefix(l, "goarch") || strings.HasPrefix(l, "pkg")
isBenchmarkHeaderLine := strings.HasPrefix(l, "goos") || strings.HasPrefix(l, "goarch") || strings.HasPrefix(l, "pkg") || strings.HasPrefix(l, "cpu")
isBenchmarkLine := strings.HasPrefix(l, benchmarkName)
isPassLine := l == "PASS"

Expand Down

0 comments on commit 6d2494b

Please sign in to comment.