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

Issue 2199333005: [tools/perf] Add unittests coverage for system health benchmarks (Closed)

Created:
4 years, 4 months ago by nednguyen
Modified:
4 years, 4 months ago
Reviewers:
petrcermak
CC:
chromium-reviews, telemetry-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[tools/perf] Add unittests coverage for system health benchmarks These tests include: + Asserting that all system health benchmarks set ShouldTearDownStateAfterEachStoryRun to True + Asserting that all system health benchmarks' names have prefix "system_health." + Asserting that all system health benchmarks use system health story sets. BUG=589726 Committed: https://crrev.com/3ed59d7bc3c1d0bc7ce94df3fd7d0decf6ce061b Cr-Commit-Position: refs/heads/master@{#409583}

Patch Set 1 #

Patch Set 2 #

Total comments: 16

Patch Set 3 : Address Petr's nits #

Total comments: 6

Patch Set 4 : Address nits #

Unified diffs Side-by-side diffs Delta from patch set Stats (+52 lines, -52 lines) Patch
M tools/perf/benchmarks/benchmark_unittest.py View 1 2 3 chunks +6 lines, -11 lines 0 comments Download
M tools/perf/benchmarks/system_health.py View 1 chunk +0 lines, -41 lines 0 comments Download
A tools/perf/benchmarks/system_health_unittest.py View 1 2 3 1 chunk +46 lines, -0 lines 0 comments Download

Messages

Total messages: 26 (15 generated)
nednguyen
4 years, 4 months ago (2016-08-02 19:21:02 UTC) #4
nednguyen
https://codereview.chromium.org/2199333005/diff/20001/tools/perf/benchmarks/system_health.py File tools/perf/benchmarks/system_health.py (left): https://codereview.chromium.org/2199333005/diff/20001/tools/perf/benchmarks/system_health.py#oldcode19 tools/perf/benchmarks/system_health.py:19: class _SystemHealthBenchmark(perf_benchmark.PerfBenchmark): Remove these because the benchmarks are disabled ...
4 years, 4 months ago (2016-08-02 19:21:49 UTC) #5
petrcermak
Looks good overall with a couple of comments. Thanks, Petr https://codereview.chromium.org/2199333005/diff/20001/tools/perf/benchmarks/benchmark_unittest.py File tools/perf/benchmarks/benchmark_unittest.py (right): https://codereview.chromium.org/2199333005/diff/20001/tools/perf/benchmarks/benchmark_unittest.py#newcode10 ...
4 years, 4 months ago (2016-08-03 08:49:27 UTC) #6
petrcermak
Should the SH unittests perhaps be in a separate unittest file (not the generic benchmark ...
4 years, 4 months ago (2016-08-03 08:49:53 UTC) #7
nednguyen
https://codereview.chromium.org/2199333005/diff/20001/tools/perf/benchmarks/benchmark_unittest.py File tools/perf/benchmarks/benchmark_unittest.py (right): https://codereview.chromium.org/2199333005/diff/20001/tools/perf/benchmarks/benchmark_unittest.py#newcode10 tools/perf/benchmarks/benchmark_unittest.py:10: import sys On 2016/08/03 08:49:27, petrcermak wrote: > nit: ...
4 years, 4 months ago (2016-08-03 15:41:36 UTC) #10
nednguyen
On 2016/08/03 08:49:53, petrcermak wrote: > Should the SH unittests perhaps be in a separate ...
4 years, 4 months ago (2016-08-03 15:41:47 UTC) #12
petrcermak
LGTM with some final nits. Thanks, Petr https://codereview.chromium.org/2199333005/diff/40001/tools/perf/benchmarks/system_health_unittest.py File tools/perf/benchmarks/system_health_unittest.py (right): https://codereview.chromium.org/2199333005/diff/40001/tools/perf/benchmarks/system_health_unittest.py#newcode27 tools/perf/benchmarks/system_health_unittest.py:27: def testNaming(self): ...
4 years, 4 months ago (2016-08-03 15:47:28 UTC) #13
nednguyen
https://codereview.chromium.org/2199333005/diff/40001/tools/perf/benchmarks/system_health_unittest.py File tools/perf/benchmarks/system_health_unittest.py (right): https://codereview.chromium.org/2199333005/diff/40001/tools/perf/benchmarks/system_health_unittest.py#newcode27 tools/perf/benchmarks/system_health_unittest.py:27: def testNaming(self): On 2016/08/03 15:47:27, petrcermak wrote: > nit: ...
4 years, 4 months ago (2016-08-03 17:50:06 UTC) #17
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/2199333005/60001
4 years, 4 months ago (2016-08-03 17:51:30 UTC) #22
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 4 months ago (2016-08-03 19:06:26 UTC) #24
commit-bot: I haz the power
4 years, 4 months ago (2016-08-03 19:09:01 UTC) #26
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/3ed59d7bc3c1d0bc7ce94df3fd7d0decf6ce061b
Cr-Commit-Position: refs/heads/master@{#409583}

Powered by Google App Engine
This is Rietveld 408576698