From d753f45cf3ebb429ebb72fcc50f6952cbc5375db Mon Sep 17 00:00:00 2001
From: Craig Tiller <ctiller@google.com>
Date: Wed, 1 Mar 2017 14:00:35 -0800
Subject: [PATCH] Add argument

---
 tools/run_tests/run_microbenchmark.py | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/tools/run_tests/run_microbenchmark.py b/tools/run_tests/run_microbenchmark.py
index 4307906a7e..d274240d67 100755
--- a/tools/run_tests/run_microbenchmark.py
+++ b/tools/run_tests/run_microbenchmark.py
@@ -209,6 +209,10 @@ argp.add_argument('-b', '--benchmarks',
                   nargs='+',
                   type=str,
                   help='Which microbenchmarks should be run')
+argp.add_argument('--diff_perf',
+                  default=None,
+                  type=str,
+                  help='Diff microbenchmarks against this git revision')
 argp.add_argument('--bigquery_upload',
                   default=False,
                   action='store_const',
@@ -223,6 +227,9 @@ args = argp.parse_args()
 for bm_name in args.benchmarks:
   for collect in args.collect:
     collectors[collect](bm_name, args)
+if args.diff_perf:
+  pass
+
 
 index_html += "</body>\n</html>\n"
 with open('reports/index.html', 'w') as f:
-- 
GitLab