Skip to content

Commit 03c43f2

Browse files
prattmicgopherbot
authored andcommitted
cmd/bench: set runstamp for subrepo tests
For golang/go#53538. Change-Id: Ic68861b65a7b5cd259ab6c8c82a10a08323f1a6d Reviewed-on: https://go-review.googlesource.com/c/benchmarks/+/459096 Auto-Submit: Michael Pratt <[email protected]> Run-TryBot: Michael Pratt <[email protected]> TryBot-Result: Gopher Robot <[email protected]> Reviewed-by: David Chase <[email protected]>
1 parent 6e5e8c2 commit 03c43f2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cmd/bench/main.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -65,8 +65,6 @@ func toolchainFromGOROOT(name, goroot string) *toolchain {
6565
}
6666

6767
func run(tcs []*toolchain) error {
68-
fmt.Printf("runstamp: %s\n", time.Now().In(time.UTC).Format(time.RFC3339Nano))
69-
7068
// Because each of the functions below is responsible for running
7169
// benchmarks under each toolchain itself, it is also responsible
7270
// for ensuring that the benchmark tag "toolchain" is printed.
@@ -152,6 +150,8 @@ func main() {
152150
subRepoBaseline = os.Getenv("BENCH_SUBREPO_BASELINE_PATH")
153151
}
154152

153+
fmt.Printf("runstamp: %s\n", time.Now().In(time.UTC).Format(time.RFC3339Nano))
154+
155155
if repository != "go" {
156156
toolchain := toolchainFromGOROOT("baseline", gorootBaseline)
157157
if err := goTestSubrepo(toolchain, repository, subRepoBaseline, subRepoExperiment); err != nil {

0 commit comments

Comments
 (0)