Add the local blink_perf benchmark that supports running any subdir of WebKit/PerformanceTest
This tries to mimic the current commandline opion of ./third_party/WebKit/Tools/Scripts/run-perf-tests. i.e: user now can run test case in WebKit/PerformanceTests/.. directory using the command: ./tools/perf/run_benchmark blink_perf --test-path=<path to test cases> For examples, after this CL, users can invoke: * './tools/perf/run_benchmark blink_perf --test-path=third_party/WebKit/PerformanceTests/TestData/color-changes-measure-frame-time.html' command to run only color-changes-measure-frame-time.html test. * './tools/perf/run_benchmark blink_perf --test-path=TestData/' command to run all the tests in WebKit/PerformanceTests/TestData/ directory. This is a lot more convenient for users who are wanting to add new test cases in directories that aren't already covered by existing blink_perf.* benchmarks. This benchmark is added to tools/perf/contrib/ directory because it isn't meant to be scheduled on the perf waterfall. BUG=720772 Review-Url: https://codereview.chromium.org/2874653002 Cr-Commit-Position: refs/heads/master@{#471028}
Showing
Please register or sign in to comment