Skip to content

Commit 0732b10

Browse files
committed
fixup: add hint when running with codspeed instrumentation
1 parent 0f61114 commit 0732b10

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

testing/testing/benchmark.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -280,6 +280,7 @@ var labelsOnce sync.Once
280280
// subbenchmarks. b must not have subbenchmarks.
281281
func (b *B) run() {
282282
labelsOnce.Do(func() {
283+
fmt.Fprintf(b.w, "Running with codspeed instrumentation\n")
283284
fmt.Fprintf(b.w, "goos: %s\n", runtime.GOOS)
284285
fmt.Fprintf(b.w, "goarch: %s\n", runtime.GOARCH)
285286
if b.importPath != "" {

0 commit comments

Comments
 (0)