Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(82)

Unified Diff: tools/nanobench_flags.py

Issue 1396113002: Renable image benchmarking (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Disable GPU image and interlaced on 32 bit Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« tools/nanobench_flags.json ('K') | « tools/nanobench_flags.json ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/nanobench_flags.py
diff --git a/tools/nanobench_flags.py b/tools/nanobench_flags.py
index f5902426865bbea24081b0128bf0e088aa2e5095..9c353460233d6fcd1edc85f649c57b8b3865bbde 100755
--- a/tools/nanobench_flags.py
+++ b/tools/nanobench_flags.py
@@ -29,8 +29,8 @@ cov_start = lineno()+1 # We care about coverage starting just past this def.
def get_args(bot):
args = []
- # Temporarily disable image benchmarking.
- args.append('--images')
+ if 'GPU' in bot:
+ args.append('--images')
if 'Appurify' not in bot:
args.extend(['--scales', '1.0', '1.1'])
@@ -80,6 +80,13 @@ def get_args(bot):
match.append('~keymobi')
match.append('~path_hairline')
+ # the 32-bit GCE bots run out of memory in DM when running these large images
msarett 2015/10/15 14:20:57 GCE?
scroggo 2015/10/15 14:40:47 FWIW, this comment is copied from dm_flags.py. Go
mtklein 2015/10/15 15:02:55 Yep.
+ # so defensively disable them in nanobench, too.
+ if 'x86' in bot and not 'x86-64' in bot:
msarett 2015/10/15 14:20:57 It occurs to me that the memory leaks in SkImageDe
scroggo 2015/10/15 14:40:47 Seems reasonable. I'm already disabling SkImageDec
msarett 2015/10/15 14:53:17 On second thought, if it's not an Android bot, it'
+ match.append('~interlaced1.png')
mtklein 2015/10/15 14:19:52 Just in case it's not clear, there's nothing stopp
scroggo 2015/10/15 14:40:47 I considered doing that, although I'm not sure how
mtklein 2015/10/15 15:02:55 sgtm
+ match.append('~interlaced2.png')
+ match.append('~interlaced3.png')
+
if match:
args.append('--match')
args.extend(match)
« tools/nanobench_flags.json ('K') | « tools/nanobench_flags.json ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698