summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorcmp@chromium.org <cmp@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-09-17 03:40:00 +0000
committercmp@chromium.org <cmp@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-09-17 03:40:00 +0000
commit29c0ee279b14c728153f46016ecf50a85ebc923e (patch)
tree506069f6f3890b3dbfb89895650d22467f51442c
parentb6c205aef4326d429ec4981fa3d9b869adad3cd1 (diff)
downloadchromium_src-29c0ee279b14c728153f46016ecf50a85ebc923e.zip
chromium_src-29c0ee279b14c728153f46016ecf50a85ebc923e.tar.gz
chromium_src-29c0ee279b14c728153f46016ecf50a85ebc923e.tar.bz2
Fix missing conditional in last change.
BUG=96937 TBR=nsylvain@chromium.org Review URL: http://codereview.chromium.org/7912007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@101636 0039d316-1c4b-4281-b951-d872f2087c98
-rwxr-xr-xtools/perf_expectations/make_expectations.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/perf_expectations/make_expectations.py b/tools/perf_expectations/make_expectations.py
index 815225f..f73383d 100755
--- a/tools/perf_expectations/make_expectations.py
+++ b/tools/perf_expectations/make_expectations.py
@@ -270,7 +270,8 @@ def Main(args):
# At this point, regress > improve. If regress == improve, we adjust
# improve so it is just a little less than regress. I'm picking on improve
# so we keep the sizes assumptions in place for now.
- improve = float(regress * 0.99)
+ if regress == improve:
+ improve = float(regress * 0.99)
# If the existing values assume regressions are low deltas relative to
# improvements, swap our regress and improve. This value must be a