summaryrefslogtreecommitdiff
path: root/testing/tools/safetynet_compare.py
diff options
context:
space:
mode:
authorHenrique Nakashima <hnakashima@chromium.org>2018-05-13 03:29:01 +0000
committerChromium commit bot <commit-bot@chromium.org>2018-05-13 03:29:01 +0000
commite20f0c4938f8f03467944ed0e71c0feb130e95f1 (patch)
tree9febd10c7bd945ced3845f08533010a16a9a0115 /testing/tools/safetynet_compare.py
parent82cb80962bc6bf4450561e185f37eb133bc9d8e0 (diff)
downloadpdfium-chromium/3430.tar.xz
Add option to run safetynet_compare.py without a profiler.chromium/3430
This is useful for comparing images without slowing down performance with a profiler. Change-Id: Ia0c41bf8ef32d82bbc24f47f44586e22d991aa51 Reviewed-on: https://pdfium-review.googlesource.com/32352 Reviewed-by: Lei Zhang <thestig@chromium.org> Commit-Queue: Henrique Nakashima <hnakashima@chromium.org>
Diffstat (limited to 'testing/tools/safetynet_compare.py')
-rwxr-xr-xtesting/tools/safetynet_compare.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/testing/tools/safetynet_compare.py b/testing/tools/safetynet_compare.py
index 966910967e..ef47eab9cd 100755
--- a/testing/tools/safetynet_compare.py
+++ b/testing/tools/safetynet_compare.py
@@ -644,8 +644,8 @@ def main():
'script is killed or crashes the changes can remain '
'stashed and you may be on another branch.')
parser.add_argument('--profiler', default='callgrind',
- help='which profiler to use. Supports callgrind and '
- 'perfstat for now. Default is callgrind.')
+ help='which profiler to use. Supports callgrind, '
+ 'perfstat, and none. Default is callgrind.')
parser.add_argument('--interesting-section', action='store_true',
help='whether to measure just the interesting section or '
'the whole test harness. Limiting to only the '