Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1037)

Issue 2874653002: Add the local blink_perf benchmark that supports running any subdir of WebKit/PerformanceTest (Closed)

Created:
3 years, 7 months ago by nednguyen
Modified:
3 years, 7 months ago
CC:
chromium-reviews, telemetry-reviews_chromium.org, esprehn
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

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} Committed: https://chromium.googlesource.com/chromium/src/+/3d449e8c4d349c0e4540a1d804920190ca76377c

Patch Set 1 #

Total comments: 10

Patch Set 2 : Address some review comments #

Patch Set 3 : Use option instead of positional args #

Total comments: 3

Patch Set 4 : Address Charlie's comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+31 lines, --1 lines) Patch
A tools/perf/contrib/blink_perf_cmdline/__init__.py View 0 chunks +-1 lines, --1 lines 0 comments Download
A tools/perf/contrib/blink_perf_cmdline/blink_perf_cmdline.py View 1 2 3 1 chunk +32 lines, -0 lines 0 comments Download

Messages

Total messages: 27 (16 generated)
nednguyen
3 years, 7 months ago (2017-05-10 01:31:36 UTC) #3
Xianzhu
https://codereview.chromium.org/2874653002/diff/1/tools/perf/contrib/blink_perf_cmdline/OWNERS File tools/perf/contrib/blink_perf_cmdline/OWNERS (right): https://codereview.chromium.org/2874653002/diff/1/tools/perf/contrib/blink_perf_cmdline/OWNERS#newcode3 tools/perf/contrib/blink_perf_cmdline/OWNERS:3: wangxianzhu@chromium.org https://cs.chromium.org/chromium/src/tools/perf/contrib/README.md says that the OWNERS file needs to ...
3 years, 7 months ago (2017-05-10 02:55:38 UTC) #9
nednguyen
https://codereview.chromium.org/2874653002/diff/1/tools/perf/contrib/blink_perf_cmdline/OWNERS File tools/perf/contrib/blink_perf_cmdline/OWNERS (right): https://codereview.chromium.org/2874653002/diff/1/tools/perf/contrib/blink_perf_cmdline/OWNERS#newcode3 tools/perf/contrib/blink_perf_cmdline/OWNERS:3: wangxianzhu@chromium.org On 2017/05/10 02:55:37, Xianzhu wrote: > https://cs.chromium.org/chromium/src/tools/perf/contrib/README.md says ...
3 years, 7 months ago (2017-05-10 17:23:42 UTC) #12
Xianzhu
https://codereview.chromium.org/2874653002/diff/1/tools/perf/contrib/blink_perf_cmdline/blink_perf_cmdline.py File tools/perf/contrib/blink_perf_cmdline/blink_perf_cmdline.py (right): https://codereview.chromium.org/2874653002/diff/1/tools/perf/contrib/blink_perf_cmdline/blink_perf_cmdline.py#newcode18 tools/perf/contrib/blink_perf_cmdline/blink_perf_cmdline.py:18: parser.error('Too many arguments.') On 2017/05/10 17:23:42, nednguyen wrote: > ...
3 years, 7 months ago (2017-05-10 18:01:28 UTC) #13
nednguyen
https://codereview.chromium.org/2874653002/diff/1/tools/perf/contrib/blink_perf_cmdline/blink_perf_cmdline.py File tools/perf/contrib/blink_perf_cmdline/blink_perf_cmdline.py (right): https://codereview.chromium.org/2874653002/diff/1/tools/perf/contrib/blink_perf_cmdline/blink_perf_cmdline.py#newcode18 tools/perf/contrib/blink_perf_cmdline/blink_perf_cmdline.py:18: parser.error('Too many arguments.') On 2017/05/10 18:01:28, Xianzhu wrote: > ...
3 years, 7 months ago (2017-05-10 20:30:44 UTC) #14
Xianzhu
lgtm
3 years, 7 months ago (2017-05-10 20:46:54 UTC) #16
charliea (OOO until 10-5)
https://codereview.chromium.org/2874653002/diff/40001/tools/perf/contrib/blink_perf_cmdline/blink_perf_cmdline.py File tools/perf/contrib/blink_perf_cmdline/blink_perf_cmdline.py (right): https://codereview.chromium.org/2874653002/diff/40001/tools/perf/contrib/blink_perf_cmdline/blink_perf_cmdline.py#newcode20 tools/perf/contrib/blink_perf_cmdline/blink_perf_cmdline.py:20: help=('path to blink perf tests. Could be absolute path, ...
3 years, 7 months ago (2017-05-10 20:59:16 UTC) #18
nednguyen
https://codereview.chromium.org/2874653002/diff/40001/tools/perf/contrib/blink_perf_cmdline/blink_perf_cmdline.py File tools/perf/contrib/blink_perf_cmdline/blink_perf_cmdline.py (right): https://codereview.chromium.org/2874653002/diff/40001/tools/perf/contrib/blink_perf_cmdline/blink_perf_cmdline.py#newcode20 tools/perf/contrib/blink_perf_cmdline/blink_perf_cmdline.py:20: help=('path to blink perf tests. Could be absolute path, ...
3 years, 7 months ago (2017-05-10 21:03:02 UTC) #19
charliea (OOO until 10-5)
lgtm thanks!
3 years, 7 months ago (2017-05-11 16:42:54 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2874653002/60001
3 years, 7 months ago (2017-05-11 17:38:30 UTC) #23
commit-bot: I haz the power
3 years, 7 months ago (2017-05-11 19:06:24 UTC) #27
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://chromium.googlesource.com/chromium/src/+/3d449e8c4d349c0e4540a1d80492...

Powered by Google App Engine
This is Rietveld 408576698