diff options
author | Henrique Nakashima <hnakashima@chromium.org> | 2017-08-03 13:29:22 -0400 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2017-08-03 22:00:23 +0000 |
commit | f24fc1e69d77db16527de99bff192693878f4080 (patch) | |
tree | be79d47e1367cdee5ea7eef363addb5233d3b514 /core | |
parent | b35dbadce21f684619377ce545e066de6494a441 (diff) | |
download | pdfium-f24fc1e69d77db16527de99bff192693878f4080.tar.xz |
Add script to compare performance of two versions of pdfium.
Run from the pdfium root:
$ testing/tools/safetynet_compare.py testing
This compares the current branch with and without local changes.
$ testing/tools/safetynet_compare.py testing/corpus --branch-before x
This compares the current branch + local changes against branch x.
It runs only the corpus tests.
$ testing/tools/safetynet_compare.py testing --branch-before x
--branch-after y --build-dir=~/output_compare
This compares branch x and branch y. x and y can be revision hashes.
The callgrind.out files of cases with significant changes will be
created in ~/output_compare.
$ testing/tools/safetynet_compare.py -h
Print all options.
Change-Id: I43aaf5fe890745db611fb3bc00a656ef799fdfef
Reviewed-on: https://pdfium-review.googlesource.com/7390
Reviewed-by: Lei Zhang <thestig@chromium.org>
Commit-Queue: Henrique Nakashima <hnakashima@chromium.org>
Diffstat (limited to 'core')
0 files changed, 0 insertions, 0 deletions