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

Issue 890653002: Add support for cc_perftests and other non-telemetry gtest based tests. (Closed)

Created:
5 years, 10 months ago by shatch
Modified:
5 years, 10 months ago
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add support for cc_perftests and other non-telemetry gtest based tests. This adds a src-side script for running non-telemetry based performance tests. Will be followed by: https://codereview.chromium.org/873403002/ Example chromium.perf.json: { "Linux Perf (1)": { "scripts": [ { "name": "media_perftests", "script": "perf_gtests.py", "args": ["media_perftests", "--single-process-tests"] }, { "name": "load_library_perf_tests", "script": "perf_gtests.py", "args": ["load_library_perf_tests", "--single-process-tests"] } ] }, "Android Nexus7v2 Perf": { "scripts": [ { "name": "media_perftests", "script": "perf_gtests.py", "args": ["media_perftests"] } ] } } BUG=392620 Committed: https://crrev.com/9b700e91514b53e78aae3de7de730e6f31770df4 Cr-Commit-Position: refs/heads/master@{#318109}

Patch Set 1 : #

Patch Set 2 : Emptied json file. #

Total comments: 13

Patch Set 3 : Changes from review. #

Total comments: 2

Patch Set 4 : Changes from review. #

Patch Set 5 : Use log-processor-output-file. #

Patch Set 6 : Use template string. #

Patch Set 7 : Added _apk. #

Total comments: 7

Patch Set 8 : Added android_mode. #

Patch Set 9 : Switched to target_platform. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+78 lines, --1 lines) Patch
A + testing/buildbot/chromium.perf.json View 1 0 chunks +-1 lines, --1 lines 0 comments Download
M testing/scripts/common.py View 1 2 3 4 5 6 7 8 1 chunk +5 lines, -0 lines 0 comments Download
A testing/scripts/gtest_perf_test.py View 1 2 3 4 5 6 7 8 1 chunk +74 lines, -0 lines 0 comments Download

Messages

Total messages: 31 (9 generated)
shatch
5 years, 10 months ago (2015-01-29 20:26:43 UTC) #3
Paweł Hajdan Jr.
https://codereview.chromium.org/890653002/diff/40001/testing/scripts/perf_gtests.py File testing/scripts/perf_gtests.py (right): https://codereview.chromium.org/890653002/diff/40001/testing/scripts/perf_gtests.py#newcode1 testing/scripts/perf_gtests.py:1: #!/usr/bin/env python nit: Rename the file to start with ...
5 years, 10 months ago (2015-01-30 12:16:53 UTC) #4
shatch
https://codereview.chromium.org/890653002/diff/40001/testing/scripts/perf_gtests.py File testing/scripts/perf_gtests.py (right): https://codereview.chromium.org/890653002/diff/40001/testing/scripts/perf_gtests.py#newcode1 testing/scripts/perf_gtests.py:1: #!/usr/bin/env python On 2015/01/30 12:16:53, Paweł Hajdan Jr. wrote: ...
5 years, 10 months ago (2015-01-30 16:46:52 UTC) #8
Paweł Hajdan Jr.
Thanks. Even though I'll be OOO next week, I'll _try_ to do another round of ...
5 years, 10 months ago (2015-01-30 21:22:40 UTC) #9
shatch
https://codereview.chromium.org/890653002/diff/40001/testing/scripts/perf_gtests.py File testing/scripts/perf_gtests.py (right): https://codereview.chromium.org/890653002/diff/40001/testing/scripts/perf_gtests.py#newcode58 testing/scripts/perf_gtests.py:58: json.dump(['chrome'], args.output) On 2015/01/30 21:22:39, Paweł Hajdan Jr. (OOO) ...
5 years, 10 months ago (2015-02-09 19:45:17 UTC) #11
Paweł Hajdan Jr.
https://codereview.chromium.org/890653002/diff/40001/testing/scripts/perf_gtests.py File testing/scripts/perf_gtests.py (right): https://codereview.chromium.org/890653002/diff/40001/testing/scripts/perf_gtests.py#newcode58 testing/scripts/perf_gtests.py:58: json.dump(['chrome'], args.output) On 2015/02/09 19:45:17, shatch wrote: > Ok, ...
5 years, 10 months ago (2015-02-10 08:27:03 UTC) #12
shatch
On 2015/02/10 08:27:03, Paweł Hajdan Jr. (OOO) wrote: > https://codereview.chromium.org/890653002/diff/40001/testing/scripts/perf_gtests.py > File testing/scripts/perf_gtests.py (right): > ...
5 years, 10 months ago (2015-02-10 20:21:16 UTC) #13
Paweł Hajdan Jr.
Patchset 6 looks good to me. I'd prefer Robbie to also take a look.
5 years, 10 months ago (2015-02-11 08:24:56 UTC) #15
shatch
On 2015/02/11 08:24:56, Paweł Hajdan Jr. (OOO) wrote: > Patchset 6 looks good to me. ...
5 years, 10 months ago (2015-02-13 21:30:32 UTC) #16
shatch
On 2015/02/13 21:30:32, shatch wrote: > On 2015/02/11 08:24:56, Paweł Hajdan Jr. (OOO) wrote: > ...
5 years, 10 months ago (2015-02-20 19:31:56 UTC) #17
iannucci
https://codereview.chromium.org/890653002/diff/220001/testing/scripts/common.py File testing/scripts/common.py (right): https://codereview.chromium.org/890653002/diff/220001/testing/scripts/common.py#newcode30 testing/scripts/common.py:30: # TODO(phajdan.jr): Make build-config-fs required after passing it in ...
5 years, 10 months ago (2015-02-23 18:02:49 UTC) #18
iannucci
https://codereview.chromium.org/890653002/diff/220001/testing/scripts/common.py File testing/scripts/common.py (right): https://codereview.chromium.org/890653002/diff/220001/testing/scripts/common.py#newcode34 testing/scripts/common.py:34: parser.add_argument('--args', type=parse_json, default=[]) On 2015/02/23 18:02:49, iannucci wrote: > ...
5 years, 10 months ago (2015-02-23 18:04:33 UTC) #19
shatch
https://codereview.chromium.org/890653002/diff/220001/testing/scripts/common.py File testing/scripts/common.py (right): https://codereview.chromium.org/890653002/diff/220001/testing/scripts/common.py#newcode34 testing/scripts/common.py:34: parser.add_argument('--args', type=parse_json, default=[]) On 2015/02/23 18:04:33, iannucci wrote: > ...
5 years, 10 months ago (2015-02-23 20:14:21 UTC) #20
iannucci
Okay. Could we add the rationale for another argument (as opposed to a property called ...
5 years, 10 months ago (2015-02-23 20:16:24 UTC) #21
Paweł Hajdan Jr.
https://codereview.chromium.org/890653002/diff/220001/testing/scripts/common.py File testing/scripts/common.py (right): https://codereview.chromium.org/890653002/diff/220001/testing/scripts/common.py#newcode34 testing/scripts/common.py:34: parser.add_argument('--args', type=parse_json, default=[]) On 2015/02/23 20:14:21, shatch wrote: > ...
5 years, 10 months ago (2015-02-23 20:46:30 UTC) #22
shatch
I don't really have any preference here, both seem to work just fine. AFAIK this ...
5 years, 10 months ago (2015-02-23 20:47:39 UTC) #23
shatch
Looks like Pawel answered just before I did, ignore my reply :) On 2015/02/23 20:47:39, ...
5 years, 10 months ago (2015-02-23 20:50:10 UTC) #24
Ken Russell (switch to Gerrit)
Could we please resolve the concerns on this CL and land it soon? Thanks.
5 years, 10 months ago (2015-02-25 19:00:04 UTC) #26
Paweł Hajdan Jr.
LGTM
5 years, 10 months ago (2015-02-25 19:41:42 UTC) #27
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/890653002/260001
5 years, 10 months ago (2015-02-25 19:55:54 UTC) #29
commit-bot: I haz the power
Committed patchset #9 (id:260001)
5 years, 10 months ago (2015-02-25 20:50:46 UTC) #30
commit-bot: I haz the power
5 years, 10 months ago (2015-02-25 21:00:23 UTC) #31
Message was sent while issue was closed.
Patchset 9 (id:??) landed as
https://crrev.com/9b700e91514b53e78aae3de7de730e6f31770df4
Cr-Commit-Position: refs/heads/master@{#318109}

Powered by Google App Engine
This is Rietveld 408576698