Run 4 sample msaa configs for perf on iOS
Also remove seemingly incorrect DM suppression for msaa16 on iOS. Change-Id: I3e86dc9c3c625a1b802a6edfbb9db3b708ecba4f Reviewed-on: https://skia-review.googlesource.com/9863 Commit-Queue: Brian Salomon <bsalomon@google.com> Reviewed-by: Brian Osman <brianosman@google.com> Reviewed-by: Ben Wagner <benjaminwagner@google.com>
This commit is contained in:
parent
eefa289a21
commit
980fb367da
@ -27,38 +27,37 @@ def nanobench_flags(bot):
|
|||||||
args.extend(['--skps', 'ignore_skps'])
|
args.extend(['--skps', 'ignore_skps'])
|
||||||
|
|
||||||
config = ['8888', 'nonrendering', 'hwui' ]
|
config = ['8888', 'nonrendering', 'hwui' ]
|
||||||
if 'Android' in bot or 'iOS' in bot:
|
|
||||||
config.append('gles')
|
|
||||||
else:
|
|
||||||
config.append('gl')
|
|
||||||
|
|
||||||
if '-arm-' not in bot:
|
if '-arm-' not in bot:
|
||||||
# For Android CPU tests, these take too long and cause the task to time out.
|
# For Android CPU tests, these take too long and cause the task to time out.
|
||||||
config += [ 'f16', 'srgb' ]
|
config += [ 'f16', 'srgb' ]
|
||||||
if '-GCE-' in bot:
|
if '-GCE-' in bot:
|
||||||
config += [ '565' ]
|
config += [ '565' ]
|
||||||
# The NP produces a long error stream when we run with MSAA.
|
|
||||||
if 'NexusPlayer' not in bot:
|
gl_prefix = 'gl'
|
||||||
if 'Android' in bot:
|
sample_count = 16
|
||||||
# The NVIDIA_Shield has a regular OpenGL implementation. We bench that
|
if 'Android' in bot or 'iOS' in bot:
|
||||||
# instead of ES.
|
sample_count = 4
|
||||||
if 'NVIDIA_Shield' in bot:
|
# The NVIDIA_Shield has a regular OpenGL implementation. We bench that
|
||||||
config.remove('gles')
|
# instead of ES.
|
||||||
config.extend(['gl', 'glmsaa4', 'glnvpr4', 'glnvprdit4'])
|
if 'NVIDIA_Shield' not in bot:
|
||||||
else:
|
gl_prefix = 'gles'
|
||||||
config.extend(['glesmsaa4', 'glesnvpr4', 'glesnvprdit4'])
|
# The NP produces a long error stream when we run with MSAA.
|
||||||
else:
|
if 'NexusPlayer' in bot:
|
||||||
config.extend(['glmsaa16', 'glnvpr16', 'glnvprdit16'])
|
sample_count = 0
|
||||||
|
|
||||||
|
config.append(gl_prefix)
|
||||||
|
if sample_count > 0:
|
||||||
|
config.extend([gl_prefix + 'msaa' + str(sample_count),
|
||||||
|
gl_prefix + 'nvpr' + str(sample_count),
|
||||||
|
gl_prefix + 'nvprdit' + str(sample_count)])
|
||||||
|
|
||||||
# Bench instanced rendering on a limited number of platforms
|
# Bench instanced rendering on a limited number of platforms
|
||||||
|
inst_config = gl_prefix + 'inst'
|
||||||
if 'Nexus6' in bot:
|
if 'Nexus6' in bot:
|
||||||
config.append('glesinst') # esinst4 isn't working yet on Adreno.
|
config.append(inst_config) # msaa inst isn't working yet on Adreno.
|
||||||
elif 'PixelC' in bot:
|
elif 'PixelC' in bot or 'NVIDIA_Shield' in bot or 'MacMini6.2' in bot:
|
||||||
config.extend(['glesinst', 'glesinst4'])
|
config.extend([inst_config, inst_config + str(sample_count)])
|
||||||
elif 'NVIDIA_Shield' in bot:
|
|
||||||
config.extend(['glinst', 'glinst4'])
|
|
||||||
elif 'MacMini6.2' in bot:
|
|
||||||
config.extend(['glinst', 'glinst16'])
|
|
||||||
|
|
||||||
if 'CommandBuffer' in bot:
|
if 'CommandBuffer' in bot:
|
||||||
config = ['commandbuffer']
|
config = ['commandbuffer']
|
||||||
|
@ -434,7 +434,7 @@
|
|||||||
"python",
|
"python",
|
||||||
"-u",
|
"-u",
|
||||||
"\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n",
|
"\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n",
|
||||||
"set -x; /data/local/tmp/nanobench --undefok -i /sdcard/revenge_of_the_skiabot/resources --skps /sdcard/revenge_of_the_skiabot/skps --images /sdcard/revenge_of_the_skiabot/images/nanobench --svgs /sdcard/revenge_of_the_skiabot/svgs --nocpu --pre_log --images --gpuStatsDump true --useThermalManager 1,1,10,1000 --scales 1.0 1.1 --config 8888 nonrendering hwui gles f16 srgb --match ~blurroundrect ~patch_grid ~desk_carsvg ~desk_unicodetable ~inc0.gif ~inc1.gif ~incInterlaced.gif ~inc0.jpg ~incGray.jpg ~inc0.wbmp ~inc1.wbmp ~inc0.webp ~inc1.webp ~inc0.ico ~inc1.ico ~inc0.png ~inc1.png ~inc2.png ~inc12.png ~inc13.png ~inc14.png ~inc0.webp ~inc1.webp --outResultsFile /sdcard/revenge_of_the_skiabot/perf/nanobench_abc123_1337000001.json --properties gitHash abc123 build_number 5 --key arch x86 compiler Clang cpu_or_gpu GPU cpu_or_gpu_value PowerVR extra_config GN_Android model NexusPlayer os Android; echo $? >/data/local/tmp/rc",
|
"set -x; /data/local/tmp/nanobench --undefok -i /sdcard/revenge_of_the_skiabot/resources --skps /sdcard/revenge_of_the_skiabot/skps --images /sdcard/revenge_of_the_skiabot/images/nanobench --svgs /sdcard/revenge_of_the_skiabot/svgs --nocpu --pre_log --images --gpuStatsDump true --useThermalManager 1,1,10,1000 --scales 1.0 1.1 --config 8888 nonrendering hwui f16 srgb gles --match ~blurroundrect ~patch_grid ~desk_carsvg ~desk_unicodetable ~inc0.gif ~inc1.gif ~incInterlaced.gif ~inc0.jpg ~incGray.jpg ~inc0.wbmp ~inc1.wbmp ~inc0.webp ~inc1.webp ~inc0.ico ~inc1.ico ~inc0.png ~inc1.png ~inc2.png ~inc12.png ~inc13.png ~inc14.png ~inc0.webp ~inc1.webp --outResultsFile /sdcard/revenge_of_the_skiabot/perf/nanobench_abc123_1337000001.json --properties gitHash abc123 build_number 5 --key arch x86 compiler Clang cpu_or_gpu GPU cpu_or_gpu_value PowerVR extra_config GN_Android model NexusPlayer os Android; echo $? >/data/local/tmp/rc",
|
||||||
"[START_DIR]/tmp/nanobench.sh"
|
"[START_DIR]/tmp/nanobench.sh"
|
||||||
],
|
],
|
||||||
"name": "write nanobench.sh"
|
"name": "write nanobench.sh"
|
||||||
|
@ -434,7 +434,7 @@
|
|||||||
"python",
|
"python",
|
||||||
"-u",
|
"-u",
|
||||||
"\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n",
|
"\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n",
|
||||||
"set -x; /data/local/tmp/nanobench --undefok -i /sdcard/revenge_of_the_skiabot/resources --skps /sdcard/revenge_of_the_skiabot/skps --images /sdcard/revenge_of_the_skiabot/images/nanobench --svgs /sdcard/revenge_of_the_skiabot/svgs --nocpu --pre_log --images --gpuStatsDump true --useThermalManager 1,1,10,1000 --scales 1.0 1.1 --config 8888 nonrendering hwui gles f16 srgb glesmsaa4 glesnvpr4 glesnvprdit4 glesinst glesinst4 --match ~blurroundrect ~patch_grid ~desk_carsvg ~inc0.gif ~inc1.gif ~incInterlaced.gif ~inc0.jpg ~incGray.jpg ~inc0.wbmp ~inc1.wbmp ~inc0.webp ~inc1.webp ~inc0.ico ~inc1.ico ~inc0.png ~inc1.png ~inc2.png ~inc12.png ~inc13.png ~inc14.png ~inc0.webp ~inc1.webp --outResultsFile /sdcard/revenge_of_the_skiabot/perf/nanobench_abc123_1337000001.json --properties gitHash abc123 build_number 5 --key arch arm64 compiler Clang cpu_or_gpu GPU cpu_or_gpu_value TegraX1 extra_config GN_Android model PixelC os Android; echo $? >/data/local/tmp/rc",
|
"set -x; /data/local/tmp/nanobench --undefok -i /sdcard/revenge_of_the_skiabot/resources --skps /sdcard/revenge_of_the_skiabot/skps --images /sdcard/revenge_of_the_skiabot/images/nanobench --svgs /sdcard/revenge_of_the_skiabot/svgs --nocpu --pre_log --images --gpuStatsDump true --useThermalManager 1,1,10,1000 --scales 1.0 1.1 --config 8888 nonrendering hwui f16 srgb gles glesmsaa4 glesnvpr4 glesnvprdit4 glesinst glesinst4 --match ~blurroundrect ~patch_grid ~desk_carsvg ~inc0.gif ~inc1.gif ~incInterlaced.gif ~inc0.jpg ~incGray.jpg ~inc0.wbmp ~inc1.wbmp ~inc0.webp ~inc1.webp ~inc0.ico ~inc1.ico ~inc0.png ~inc1.png ~inc2.png ~inc12.png ~inc13.png ~inc14.png ~inc0.webp ~inc1.webp --outResultsFile /sdcard/revenge_of_the_skiabot/perf/nanobench_abc123_1337000001.json --properties gitHash abc123 build_number 5 --key arch arm64 compiler Clang cpu_or_gpu GPU cpu_or_gpu_value TegraX1 extra_config GN_Android model PixelC os Android; echo $? >/data/local/tmp/rc",
|
||||||
"[START_DIR]/tmp/nanobench.sh"
|
"[START_DIR]/tmp/nanobench.sh"
|
||||||
],
|
],
|
||||||
"name": "write nanobench.sh"
|
"name": "write nanobench.sh"
|
||||||
|
@ -115,9 +115,9 @@
|
|||||||
"8888",
|
"8888",
|
||||||
"nonrendering",
|
"nonrendering",
|
||||||
"hwui",
|
"hwui",
|
||||||
"gl",
|
|
||||||
"f16",
|
"f16",
|
||||||
"srgb",
|
"srgb",
|
||||||
|
"gl",
|
||||||
"glmsaa16",
|
"glmsaa16",
|
||||||
"glnvpr16",
|
"glnvpr16",
|
||||||
"glnvprdit16",
|
"glnvprdit16",
|
||||||
|
@ -120,10 +120,10 @@
|
|||||||
"8888",
|
"8888",
|
||||||
"nonrendering",
|
"nonrendering",
|
||||||
"hwui",
|
"hwui",
|
||||||
"gl",
|
|
||||||
"f16",
|
"f16",
|
||||||
"srgb",
|
"srgb",
|
||||||
"565",
|
"565",
|
||||||
|
"gl",
|
||||||
"glmsaa16",
|
"glmsaa16",
|
||||||
"glnvpr16",
|
"glnvpr16",
|
||||||
"glnvprdit16",
|
"glnvprdit16",
|
||||||
|
@ -123,9 +123,9 @@
|
|||||||
"8888",
|
"8888",
|
||||||
"nonrendering",
|
"nonrendering",
|
||||||
"hwui",
|
"hwui",
|
||||||
"gl",
|
|
||||||
"f16",
|
"f16",
|
||||||
"srgb",
|
"srgb",
|
||||||
|
"gl",
|
||||||
"glmsaa16",
|
"glmsaa16",
|
||||||
"glnvpr16",
|
"glnvpr16",
|
||||||
"glnvprdit16",
|
"glnvprdit16",
|
||||||
|
@ -88,9 +88,9 @@
|
|||||||
"8888",
|
"8888",
|
||||||
"nonrendering",
|
"nonrendering",
|
||||||
"hwui",
|
"hwui",
|
||||||
"gl",
|
|
||||||
"f16",
|
"f16",
|
||||||
"srgb",
|
"srgb",
|
||||||
|
"gl",
|
||||||
"glmsaa16",
|
"glmsaa16",
|
||||||
"glnvpr16",
|
"glnvpr16",
|
||||||
"glnvprdit16",
|
"glnvprdit16",
|
||||||
|
@ -88,9 +88,9 @@
|
|||||||
"8888",
|
"8888",
|
||||||
"nonrendering",
|
"nonrendering",
|
||||||
"hwui",
|
"hwui",
|
||||||
"gl",
|
|
||||||
"f16",
|
"f16",
|
||||||
"srgb",
|
"srgb",
|
||||||
|
"gl",
|
||||||
"glmsaa16",
|
"glmsaa16",
|
||||||
"glnvpr16",
|
"glnvpr16",
|
||||||
"glnvprdit16",
|
"glnvprdit16",
|
||||||
|
@ -122,9 +122,9 @@
|
|||||||
"8888",
|
"8888",
|
||||||
"nonrendering",
|
"nonrendering",
|
||||||
"hwui",
|
"hwui",
|
||||||
"gl",
|
|
||||||
"f16",
|
"f16",
|
||||||
"srgb",
|
"srgb",
|
||||||
|
"gl",
|
||||||
"glmsaa16",
|
"glmsaa16",
|
||||||
"glnvpr16",
|
"glnvpr16",
|
||||||
"glnvprdit16",
|
"glnvprdit16",
|
||||||
|
@ -80,10 +80,10 @@
|
|||||||
"8888",
|
"8888",
|
||||||
"nonrendering",
|
"nonrendering",
|
||||||
"hwui",
|
"hwui",
|
||||||
"gl",
|
|
||||||
"f16",
|
"f16",
|
||||||
"srgb",
|
"srgb",
|
||||||
"565",
|
"565",
|
||||||
|
"gl",
|
||||||
"glmsaa16",
|
"glmsaa16",
|
||||||
"glnvpr16",
|
"glnvpr16",
|
||||||
"glnvprdit16",
|
"glnvprdit16",
|
||||||
|
@ -115,10 +115,10 @@
|
|||||||
"8888",
|
"8888",
|
||||||
"nonrendering",
|
"nonrendering",
|
||||||
"hwui",
|
"hwui",
|
||||||
"gl",
|
|
||||||
"f16",
|
"f16",
|
||||||
"srgb",
|
"srgb",
|
||||||
"565",
|
"565",
|
||||||
|
"gl",
|
||||||
"glmsaa16",
|
"glmsaa16",
|
||||||
"glnvpr16",
|
"glnvpr16",
|
||||||
"glnvprdit16",
|
"glnvprdit16",
|
||||||
|
@ -118,9 +118,9 @@
|
|||||||
"8888",
|
"8888",
|
||||||
"nonrendering",
|
"nonrendering",
|
||||||
"hwui",
|
"hwui",
|
||||||
"gl",
|
|
||||||
"f16",
|
"f16",
|
||||||
"srgb",
|
"srgb",
|
||||||
|
"gl",
|
||||||
"glmsaa16",
|
"glmsaa16",
|
||||||
"glnvpr16",
|
"glnvpr16",
|
||||||
"glnvprdit16",
|
"glnvprdit16",
|
||||||
|
@ -83,9 +83,9 @@
|
|||||||
"8888",
|
"8888",
|
||||||
"nonrendering",
|
"nonrendering",
|
||||||
"hwui",
|
"hwui",
|
||||||
"gl",
|
|
||||||
"f16",
|
"f16",
|
||||||
"srgb",
|
"srgb",
|
||||||
|
"gl",
|
||||||
"glmsaa16",
|
"glmsaa16",
|
||||||
"glnvpr16",
|
"glnvpr16",
|
||||||
"glnvprdit16",
|
"glnvprdit16",
|
||||||
|
@ -118,9 +118,9 @@
|
|||||||
"8888",
|
"8888",
|
||||||
"nonrendering",
|
"nonrendering",
|
||||||
"hwui",
|
"hwui",
|
||||||
"gl",
|
|
||||||
"f16",
|
"f16",
|
||||||
"srgb",
|
"srgb",
|
||||||
|
"gl",
|
||||||
"glmsaa16",
|
"glmsaa16",
|
||||||
"glnvpr16",
|
"glnvpr16",
|
||||||
"glnvprdit16",
|
"glnvprdit16",
|
||||||
|
@ -365,7 +365,7 @@
|
|||||||
"[START_DIR]/out/Release/nanobench.app",
|
"[START_DIR]/out/Release/nanobench.app",
|
||||||
"-I",
|
"-I",
|
||||||
"--args",
|
"--args",
|
||||||
"--undefok -i resources --skps skps --images images/nanobench --svgs svgs --nocpu --pre_log --images --gpuStatsDump true --scales 1.0 1.1 --skps ignore_skps --config 8888 nonrendering hwui gles glmsaa16 glnvpr16 glnvprdit16 --match ~blurroundrect ~patch_grid ~desk_carsvg ~keymobi ~path_hairline ~GLInstancedArraysBench ~inc0.gif ~inc1.gif ~incInterlaced.gif ~inc0.jpg ~incGray.jpg ~inc0.wbmp ~inc1.wbmp ~inc0.webp ~inc1.webp ~inc0.ico ~inc1.ico ~inc0.png ~inc1.png ~inc2.png ~inc12.png ~inc13.png ~inc14.png ~inc0.webp ~inc1.webp --outResultsFile perf/nanobench_abc123_1337000001.json --properties gitHash abc123 build_number 5 --key arch arm compiler Clang cpu_or_gpu GPU cpu_or_gpu_value GX6450 model iPadMini4 os iOS"
|
"--undefok -i resources --skps skps --images images/nanobench --svgs svgs --nocpu --pre_log --images --gpuStatsDump true --scales 1.0 1.1 --skps ignore_skps --config 8888 nonrendering hwui gles glesmsaa4 glesnvpr4 glesnvprdit4 --match ~blurroundrect ~patch_grid ~desk_carsvg ~keymobi ~path_hairline ~GLInstancedArraysBench ~inc0.gif ~inc1.gif ~incInterlaced.gif ~inc0.jpg ~incGray.jpg ~inc0.wbmp ~inc1.wbmp ~inc0.webp ~inc1.webp ~inc0.ico ~inc1.ico ~inc0.png ~inc1.png ~inc2.png ~inc12.png ~inc13.png ~inc14.png ~inc0.webp ~inc1.webp --outResultsFile perf/nanobench_abc123_1337000001.json --properties gitHash abc123 build_number 5 --key arch arm compiler Clang cpu_or_gpu GPU cpu_or_gpu_value GX6450 model iPadMini4 os iOS"
|
||||||
],
|
],
|
||||||
"cwd": "[START_DIR]/skia",
|
"cwd": "[START_DIR]/skia",
|
||||||
"env": {
|
"env": {
|
||||||
|
@ -118,9 +118,9 @@
|
|||||||
"8888",
|
"8888",
|
||||||
"nonrendering",
|
"nonrendering",
|
||||||
"hwui",
|
"hwui",
|
||||||
"gl",
|
|
||||||
"f16",
|
"f16",
|
||||||
"srgb",
|
"srgb",
|
||||||
|
"gl",
|
||||||
"glmsaa16",
|
"glmsaa16",
|
||||||
"glnvpr16",
|
"glnvpr16",
|
||||||
"glnvprdit16",
|
"glnvprdit16",
|
||||||
|
@ -146,9 +146,9 @@
|
|||||||
"8888",
|
"8888",
|
||||||
"nonrendering",
|
"nonrendering",
|
||||||
"hwui",
|
"hwui",
|
||||||
"gl",
|
|
||||||
"f16",
|
"f16",
|
||||||
"srgb",
|
"srgb",
|
||||||
|
"gl",
|
||||||
"glmsaa16",
|
"glmsaa16",
|
||||||
"glnvpr16",
|
"glnvpr16",
|
||||||
"glnvprdit16",
|
"glnvprdit16",
|
||||||
|
@ -110,9 +110,9 @@
|
|||||||
"8888",
|
"8888",
|
||||||
"nonrendering",
|
"nonrendering",
|
||||||
"hwui",
|
"hwui",
|
||||||
"gl",
|
|
||||||
"f16",
|
"f16",
|
||||||
"srgb",
|
"srgb",
|
||||||
|
"gl",
|
||||||
"glmsaa16",
|
"glmsaa16",
|
||||||
"glnvpr16",
|
"glnvpr16",
|
||||||
"glnvprdit16",
|
"glnvprdit16",
|
||||||
|
@ -145,7 +145,6 @@ def dm_flags(bot):
|
|||||||
if 'iOS' in bot:
|
if 'iOS' in bot:
|
||||||
blacklist('gles skp _ _')
|
blacklist('gles skp _ _')
|
||||||
blacklist('glesmsaa skp _ _')
|
blacklist('glesmsaa skp _ _')
|
||||||
blacklist('glesmsaa16 gm _ tilemodesProcess')
|
|
||||||
|
|
||||||
if 'Mac' in bot or 'iOS' in bot:
|
if 'Mac' in bot or 'iOS' in bot:
|
||||||
# CG fails on questionable bmps
|
# CG fails on questionable bmps
|
||||||
|
@ -120,10 +120,10 @@
|
|||||||
"8888",
|
"8888",
|
||||||
"nonrendering",
|
"nonrendering",
|
||||||
"hwui",
|
"hwui",
|
||||||
"gl",
|
|
||||||
"f16",
|
"f16",
|
||||||
"srgb",
|
"srgb",
|
||||||
"565",
|
"565",
|
||||||
|
"gl",
|
||||||
"glmsaa16",
|
"glmsaa16",
|
||||||
"glnvpr16",
|
"glnvpr16",
|
||||||
"glnvprdit16",
|
"glnvprdit16",
|
||||||
|
Loading…
Reference in New Issue
Block a user