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) |