cmd/bench: export runstamp configuration key

The runstamp is a nanosecond-precision UTC timestamp that indicates when
a benchmark run started. It exists to help prevent comparing results
from different runs, which are generally applicable to compare (machine
conditions, among other things, can change over time).

Change-Id: I5385ba5548033747cbbe9b5f59a5c19b26c3bad3
Reviewed-on: https://go-review.googlesource.com/c/benchmarks/+/393416
Reviewed-by: Michael Pratt <mpratt@google.com>
Run-TryBot: Michael Knyszek <mknyszek@google.com>
Trust: Michael Knyszek <mknyszek@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
diff --git a/cmd/bench/main.go b/cmd/bench/main.go
index 0b8e216..f4a5ac1 100644
--- a/cmd/bench/main.go
+++ b/cmd/bench/main.go
@@ -17,6 +17,7 @@
 	"os/exec"
 	"path/filepath"
 	"strings"
+	"time"
 
 	"golang.org/x/benchmarks/sweet/common"
 )
@@ -61,6 +62,8 @@
 }
 
 func run(tcs []*toolchain) error {
+	fmt.Printf("runstamp: %s\n", time.Now().In(time.UTC).Format(time.RFC3339Nano))
+
 	// Because each of the functions below is responsible for running
 	// benchmarks under each toolchain itself, it is also responsible
 	// for ensuring that the benchmark tag "toolchain" is printed.