diff options
author | bulach@chromium.org <bulach@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-05-14 20:46:34 +0000 |
---|---|---|
committer | bulach@chromium.org <bulach@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-05-14 20:46:34 +0000 |
commit | b0e9dbad146da85a98b6fe1240b2aa5ce6d51daf (patch) | |
tree | 7e475d80ae9ce8a5bb9ee06894a3c134f9ce7ac0 /tools/bisect-perf-regression.py | |
parent | bef19784f7720387c0c92ab3a5fe67e481736ec7 (diff) | |
download | chromium_src-b0e9dbad146da85a98b6fe1240b2aa5ce6d51daf.zip chromium_src-b0e9dbad146da85a98b6fe1240b2aa5ce6d51daf.tar.gz chromium_src-b0e9dbad146da85a98b6fe1240b2aa5ce6d51daf.tar.bz2 |
Fixes bisect-perf-regression.py for "special" metrics.
Metrics may have regexp characters requiring escaping, such as:
ImageDecoding_avg_by_url/image_decoding.html?gif
Example of the fix:
http://chromeperf79.chrome.corp.google.com:8028/builders/linux_bisect/builds/185
BUG=233580
Review URL: https://chromiumcodereview.appspot.com/14772033
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@200063 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'tools/bisect-perf-regression.py')
-rwxr-xr-x | tools/bisect-perf-regression.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/bisect-perf-regression.py b/tools/bisect-perf-regression.py index ab268ff..14cf10c 100755 --- a/tools/bisect-perf-regression.py +++ b/tools/bisect-perf-regression.py @@ -629,7 +629,7 @@ class BisectPerformanceMetrics(object): A list of floating point numbers found. """ # Format is: RESULT <graph>: <trace>= <value> <units> - metric_formatted = 'RESULT %s: %s=' % (metric[0], metric[1]) + metric_formatted = re.escape('RESULT %s: %s=' % (metric[0], metric[1])) text_lines = text.split('\n') values_list = [] |