summaryrefslogtreecommitdiffstats
path: root/tools/run-bisect-perf-regression.py
diff options
context:
space:
mode:
authorprasadv <prasadv@chromium.org>2015-04-15 13:46:14 -0700
committerCommit bot <commit-bot@chromium.org>2015-04-15 20:46:30 +0000
commit99e1ac1d217174dad7a862f6a0fc44950d503737 (patch)
treef551d8f1e09222134d96f4355ff9c8e5be557b88 /tools/run-bisect-perf-regression.py
parent539f51d6af62097059c34b1c19dfbc4352413ad7 (diff)
downloadchromium_src-99e1ac1d217174dad7a862f6a0fc44950d503737.zip
chromium_src-99e1ac1d217174dad7a862f6a0fc44950d503737.tar.gz
chromium_src-99e1ac1d217174dad7a862f6a0fc44950d503737.tar.bz2
Add tool/perf/measurements path to check for CQ jobs.
BUG=462581 Review URL: https://codereview.chromium.org/1061803004 Cr-Commit-Position: refs/heads/master@{#325296}
Diffstat (limited to 'tools/run-bisect-perf-regression.py')
-rwxr-xr-xtools/run-bisect-perf-regression.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/run-bisect-perf-regression.py b/tools/run-bisect-perf-regression.py
index dda359b..a9c7e54 100755
--- a/tools/run-bisect-perf-regression.py
+++ b/tools/run-bisect-perf-regression.py
@@ -37,6 +37,7 @@ WEBKIT_RUN_TEST_CONFIG_PATH = os.path.join(
BISECT_SCRIPT_DIR = os.path.join(SCRIPT_DIR, 'auto_bisect')
PERF_BENCHMARKS_PATH = 'tools/perf/benchmarks'
+PERF_MEASUREMENTS_PATH = 'tools/perf/measurements'
BUILDBOT_BUILDERNAME = 'BUILDBOT_BUILDERNAME'
BENCHMARKS_JSON_FILE = 'benchmarks.json'
@@ -634,7 +635,8 @@ def _GetAffectedBenchmarkModuleNames():
all_affected_files = _GetModifiedFilesFromPatch()
modified_benchmarks = []
for affected_file in all_affected_files:
- if affected_file.startswith(PERF_BENCHMARKS_PATH):
+ if (affected_file.startswith(PERF_BENCHMARKS_PATH) or
+ affected_file.startswith(PERF_MEASUREMENTS_PATH)):
benchmark = os.path.basename(os.path.splitext(affected_file)[0])
modified_benchmarks.append(benchmark)
return modified_benchmarks