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

Issue 2055043002: Plumb IterationInfo from telemetry to a diagnostic (Closed)

Created:
4 years, 6 months ago by benjhayden
Modified:
4 years, 6 months ago
Reviewers:
eakuefner, nednguyen
CC:
catapult-reviews_chromium.org, telemetry-reviews_chromium.org, tracing-review_chromium.org
Base URL:
https://github.com/catapult-project/catapult.git@master
Target Ref:
refs/heads/master
Project:
catapult
Visibility:
Public.

Description

Plumb IterationInfo from telemetry to a diagnostic For now, IterationInfo contains only those fields that are absolutely necessary for results2.html: storyName, label, timestamp, storySetRepeatCounter, storyRepeatCounter. Values can become separated from their ValueSets, and ValueSets can contain Values from different iterations, and the current IterationInfo is only a hundred bytes or so, so for now, this diagnostic will be duplicated on every Value. This diagnostic will eventually gain more fields and also be displayed on the dashboard and unified with the existing value metadata system. For now, only the storyName is replicated between IterationInfo and the existing value metadata. If and when this diagnostic grows too large to be replicated on every Value, then we can choose how to combat the bloat using strategies that are being worked out in the design doc: https://docs.google.com/document/d/12KvpnDUFUuCEgId7H-QL5PoRcsp99CXdqbZc-EOrpH8/edit# BUG=catapult:#2405 Committed: https://chromium.googlesource.com/external/github.com/catapult-project/catapult/+/a5348f556ee6ed0e9dbde67440465a21490bb676

Patch Set 1 #

Patch Set 2 : pagesetRepeatCounter, pageRepeatCounter #

Patch Set 3 : timestamp #

Total comments: 2

Patch Set 4 : comments #

Total comments: 1

Patch Set 5 : s/page/story/g, add storyName #

Patch Set 6 : results2.html only #

Total comments: 1

Patch Set 7 : move iteration_info from tbm Options to PageTestResults #

Patch Set 8 : rebase #

Patch Set 9 : add storyUrl since storyName can be empty #

Total comments: 5

Patch Set 10 : storyGroupingKeys, storyDisplayName, benchmarkName, s/timestamp/benchmarkStartMs/g #

Total comments: 1

Patch Set 11 : IterationInfo python class #

Unified diffs Side-by-side diffs Delta from patch set Stats (+253 lines, -13 lines) Patch
M telemetry/telemetry/internal/results/page_test_results.py View 1 2 3 4 5 6 7 8 9 10 3 chunks +96 lines, -1 line 0 comments Download
M telemetry/telemetry/internal/results/results_options.py View 1 2 3 4 5 6 7 8 9 10 2 chunks +10 lines, -1 line 0 comments Download
M telemetry/telemetry/internal/story_runner.py View 1 2 3 4 5 6 7 8 9 10 2 chunks +4 lines, -3 lines 0 comments Download
M telemetry/telemetry/internal/story_runner_unittest.py View 1 2 3 4 5 6 7 8 9 10 2 chunks +9 lines, -0 lines 0 comments Download
M telemetry/telemetry/page/__init__.py View 1 2 3 4 5 6 7 8 9 10 1 chunk +1 line, -1 line 0 comments Download
M telemetry/telemetry/web_perf/timeline_based_measurement.py View 1 2 3 4 5 6 7 8 9 10 1 chunk +2 lines, -1 line 0 comments Download
M tracing/trace_viewer.gypi View 1 2 3 4 5 6 7 1 chunk +1 line, -0 lines 0 comments Download
M tracing/tracing/metrics/metric_map_function.html View 1 2 3 4 5 6 7 1 chunk +17 lines, -0 lines 0 comments Download
M tracing/tracing/metrics/metric_runner.py View 1 chunk +9 lines, -6 lines 0 comments Download
M tracing/tracing/value/diagnostics/diagnostic_map.html View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
A tracing/tracing/value/diagnostics/iteration_info.html View 1 2 3 4 5 6 7 8 9 10 1 chunk +102 lines, -0 lines 0 comments Download

Messages

Total messages: 27 (10 generated)
benjhayden
4 years, 6 months ago (2016-06-09 22:41:57 UTC) #2
benjhayden
PTAL :-)
4 years, 6 months ago (2016-06-09 23:07:32 UTC) #4
nednguyen
https://codereview.chromium.org/2055043002/diff/40001/telemetry/telemetry/benchmark.py File telemetry/telemetry/benchmark.py (right): https://codereview.chromium.org/2055043002/diff/40001/telemetry/telemetry/benchmark.py#newcode238 telemetry/telemetry/benchmark.py:238: opts.SetIterationInfo('benchmarkName', self.Name()) Why is this logic done in CreatePageTest? ...
4 years, 6 months ago (2016-06-10 00:53:51 UTC) #5
benjhayden
https://codereview.chromium.org/2055043002/diff/60001/telemetry/telemetry/android/shared_android_state.py File telemetry/telemetry/android/shared_android_state.py (right): https://codereview.chromium.org/2055043002/diff/60001/telemetry/telemetry/android/shared_android_state.py#newcode53 telemetry/telemetry/android/shared_android_state.py:53: pageset_repeat_counter=0, # pylint: disable=unused-argument page -> story
4 years, 6 months ago (2016-06-16 20:17:11 UTC) #6
benjhayden
PTAL :-)
4 years, 6 months ago (2016-06-16 21:46:36 UTC) #7
benjhayden
Ok, this is turning out to be a lot more complicated than we thought. :-) ...
4 years, 6 months ago (2016-06-17 22:23:23 UTC) #10
nednguyen
Mostly lg2me but the IterationInfo should not be part of TimelinebasedMeasurement.Options https://codereview.chromium.org/2055043002/diff/100001/telemetry/telemetry/web_perf/timeline_based_measurement.py File telemetry/telemetry/web_perf/timeline_based_measurement.py (right): ...
4 years, 6 months ago (2016-06-17 22:26:53 UTC) #11
eakuefner
lgtm from my perspective. we've talked about how to extend this to the dashboard use ...
4 years, 6 months ago (2016-06-17 22:28:15 UTC) #12
eakuefner
few more comments, still lgtm we discussed offline how we will implement a displayLabel feature, ...
4 years, 6 months ago (2016-06-20 18:57:11 UTC) #13
eakuefner
https://codereview.chromium.org/2055043002/diff/160001/telemetry/telemetry/internal/results/page_test_results.py File telemetry/telemetry/internal/results/page_test_results.py (right): https://codereview.chromium.org/2055043002/diff/160001/telemetry/telemetry/internal/results/page_test_results.py#newcode72 telemetry/telemetry/internal/results/page_test_results.py:72: self._iteration_info = {'timestamp': time.time()} Comment that we use time() ...
4 years, 6 months ago (2016-06-20 19:09:03 UTC) #14
nednguyen
lgtm
4 years, 6 months ago (2016-06-20 19:10:12 UTC) #15
benjhayden
Thanks!
4 years, 6 months ago (2016-06-20 21:03:17 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2055043002/180001
4 years, 6 months ago (2016-06-20 21:03:18 UTC) #19
nednguyen
https://codereview.chromium.org/2055043002/diff/180001/telemetry/telemetry/internal/results/page_test_results.py File telemetry/telemetry/internal/results/page_test_results.py (right): https://codereview.chromium.org/2055043002/diff/180001/telemetry/telemetry/internal/results/page_test_results.py#newcode73 telemetry/telemetry/internal/results/page_test_results.py:73: def SetIterationInfo(self, name, value): as a follow up, can ...
4 years, 6 months ago (2016-06-20 21:09:00 UTC) #20
commit-bot: I haz the power
Try jobs failed on following builders: Catapult Windows Tryserver on master.tryserver.client.catapult (JOB_FAILED, https://build.chromium.org/p/tryserver.client.catapult/builders/Catapult%20Windows%20Tryserver/builds/3467)
4 years, 6 months ago (2016-06-20 21:14:49 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2055043002/200001
4 years, 6 months ago (2016-06-20 23:26:59 UTC) #25
commit-bot: I haz the power
4 years, 6 months ago (2016-06-21 00:49:41 UTC) #27
Message was sent while issue was closed.
Committed patchset #11 (id:200001) as
https://chromium.googlesource.com/external/github.com/catapult-project/catapu...

Powered by Google App Engine
This is Rietveld 408576698