summaryrefslogtreecommitdiff
path: root/libgo/go/cmd/internal/test2json/testdata/bench.test
diff options
context:
space:
mode:
Diffstat (limited to 'libgo/go/cmd/internal/test2json/testdata/bench.test')
-rw-r--r--libgo/go/cmd/internal/test2json/testdata/bench.test12
1 files changed, 12 insertions, 0 deletions
diff --git a/libgo/go/cmd/internal/test2json/testdata/bench.test b/libgo/go/cmd/internal/test2json/testdata/bench.test
new file mode 100644
index 00000000000..453bd5928a5
--- /dev/null
+++ b/libgo/go/cmd/internal/test2json/testdata/bench.test
@@ -0,0 +1,12 @@
+goos: darwin
+goarch: 386
+BenchmarkFoo-8 2000000000 0.00 ns/op
+--- BENCH: BenchmarkFoo-8
+ x_test.go:8: My benchmark
+ x_test.go:8: My benchmark
+ x_test.go:8: My benchmark
+ x_test.go:8: My benchmark
+ x_test.go:8: My benchmark
+ x_test.go:8: My benchmark
+PASS
+ok command-line-arguments 0.009s