Provide a command line script for running arbitrary blink_perf test path through Telemetry |
||
Issue descriptionToday, if a developer create new tests in a new directory in WebKit/PerformanceTests/foo, they will need to add some code in tools/perf/blink_perf.py to create s.t like a blink_perf.foo benchmark just to be able to run tests in foo/ directory through Telemetry. This is inconvenient for users who just want to iterate on new WebKit perf tests & don't bother to add a new blink_perf benchmark to be run on the waterfall. Proposal: We will create a blink_perf benchmark that allows user to run against any test path in WebKit/PerformanceTests/ with the following command: ./tools/perf/run_benchmark blink_perf --test-path=<path to test>
,
May 11 2017
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/3d449e8c4d349c0e4540a1d804920190ca76377c commit 3d449e8c4d349c0e4540a1d804920190ca76377c Author: nednguyen <nednguyen@google.com> Date: Thu May 11 19:06:09 2017 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} [add] https://crrev.com/3d449e8c4d349c0e4540a1d804920190ca76377c/tools/perf/contrib/blink_perf_cmdline/__init__.py [add] https://crrev.com/3d449e8c4d349c0e4540a1d804920190ca76377c/tools/perf/contrib/blink_perf_cmdline/blink_perf_cmdline.py
,
May 11 2017
|
||
►
Sign in to add a comment |
||
Comment 1 by bugdroid1@chromium.org
, May 11 2017