aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/tools/benchmark
diff options
context:
space:
mode:
authorGravatar Kristina Chodorow <kchodorow@google.com>2017-02-16 16:55:08 +0000
committerGravatar Dmitry Lomov <dslomov@google.com>2017-02-16 16:59:14 +0000
commitc69f26686d85459e56f4fd99ca687c050c801d79 (patch)
treec804881d439b097a255b7222f811240ab9da71cb /src/tools/benchmark
parenta7c11c6a0ae8400af4a8c76bf2f0cc7ffd1f1e32 (diff)
--
PiperOrigin-RevId: 147725837 MOS_MIGRATED_REVID=147725837
Diffstat (limited to 'src/tools/benchmark')
-rw-r--r--src/tools/benchmark/README.md11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/tools/benchmark/README.md b/src/tools/benchmark/README.md
new file mode 100644
index 0000000000..0646dfc46e
--- /dev/null
+++ b/src/tools/benchmark/README.md
@@ -0,0 +1,11 @@
+# Benchmark
+
+This benchmark is for comparing performance (elapsed time) between several bazel commits.
+It requires bazel and git installed.
+
+To Run the benchmark:
+1. `bazel build //src/tools/benchmark/java/com/google/devtools/build/benchmark:benchmark`
+2. run the built binary and follow the argument instruction
+3. put the benchmark result as `<name>.json` into `src/tools/benchmark/webapp/data`
+4. put the string `<name>.json` into `src/tools/benchmark/webapp/file_list`
+5. start an http server there and open `/index.html`