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

Issue 1992303003: Refactor hazardMetric (Closed)

Created:
4 years, 7 months ago by benjhayden
Modified:
4 years, 6 months ago
Reviewers:
bckenny2, paulirish, bckenny
CC:
catapult-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

Refactor hazardMetric Currently, hazardMetric computes a single overall score with diagnostic values. Diagnostic values are being deprecated. This CL removes the diagnostic values and adds a Numeric histogram of the raw long task durations. This CL also refactors the implementation in order to be more useful for Lighthouse, and uses LogNormalDistribution instead of the old getInterpolatedCountAt. BUG=catapult:#2335 Committed: https://chromium.googlesource.com/external/github.com/catapult-project/catapult/+/80132ac6935a2b537964714fb194ca481e5f14ca

Patch Set 1 : . #

Patch Set 2 : LONGEST_TASK_MS #

Patch Set 3 : . #

Patch Set 4 : . #

Total comments: 8

Patch Set 5 : split longTasksMetric #

Patch Set 6 : dimret=50, median=100 #

Patch Set 7 : dimret=50, median=100 #

Patch Set 8 : rebase #

Patch Set 9 : fixing #

Patch Set 10 : fixing #

Unified diffs Side-by-side diffs Delta from patch set Stats (+222 lines, -124 lines) Patch
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/base/statistics.html View 1 2 1 chunk +27 lines, -0 lines 0 comments Download
M tracing/tracing/metrics/system_health/hazard_metric.html View 1 2 3 4 5 6 7 8 9 3 chunks +80 lines, -102 lines 0 comments Download
M tracing/tracing/metrics/system_health/hazard_metric_test.html View 1 2 3 4 5 6 7 8 9 4 chunks +13 lines, -22 lines 0 comments Download
A tracing/tracing/metrics/system_health/long_tasks_metric.html View 1 2 3 4 5 6 7 8 1 chunk +99 lines, -0 lines 0 comments Download
M tracing/tracing/metrics/system_health/system_health_metrics.html View 1 2 3 4 5 6 7 2 chunks +2 lines, -0 lines 0 comments Download

Messages

Total messages: 22 (11 generated)
benjhayden
PTAL
4 years, 7 months ago (2016-05-23 23:31:28 UTC) #8
paulirish
this mostly looks how i've been thinking. but two questions below. https://codereview.chromium.org/1992303003/diff/140001/tracing/tracing/metrics/system_health/hazard_metric.html File tracing/tracing/metrics/system_health/hazard_metric.html (right): ...
4 years, 7 months ago (2016-05-25 00:13:09 UTC) #9
bckenny2
https://codereview.chromium.org/1992303003/diff/140001/tracing/tracing/metrics/system_health/hazard_metric.html File tracing/tracing/metrics/system_health/hazard_metric.html (right): https://codereview.chromium.org/1992303003/diff/140001/tracing/tracing/metrics/system_health/hazard_metric.html#newcode137 tracing/tracing/metrics/system_health/hazard_metric.html:137: taskHazardScores, perceptualBlendSmallerIsBetter); I was curious about this as well. ...
4 years, 7 months ago (2016-05-25 00:37:01 UTC) #11
benjhayden
https://codereview.chromium.org/1992303003/diff/140001/tracing/tracing/metrics/system_health/hazard_metric.html File tracing/tracing/metrics/system_health/hazard_metric.html (right): https://codereview.chromium.org/1992303003/diff/140001/tracing/tracing/metrics/system_health/hazard_metric.html#newcode37 tracing/tracing/metrics/system_health/hazard_metric.html:37: 300 / MS_PER_S, 100 / MS_PER_S); On 2016/05/25 at ...
4 years, 7 months ago (2016-05-25 18:01:24 UTC) #12
paulirish
On 2016/05/25 at 18:01:24, benjhayden wrote: > https://codereview.chromium.org/1992303003/diff/140001/tracing/tracing/metrics/system_health/hazard_metric.html > File tracing/tracing/metrics/system_health/hazard_metric.html (right): > > https://codereview.chromium.org/1992303003/diff/140001/tracing/tracing/metrics/system_health/hazard_metric.html#newcode37 ...
4 years, 7 months ago (2016-05-25 21:34:49 UTC) #13
bckenny2
https://codereview.chromium.org/1992303003/diff/140001/tracing/tracing/metrics/system_health/hazard_metric.html File tracing/tracing/metrics/system_health/hazard_metric.html (right): https://codereview.chromium.org/1992303003/diff/140001/tracing/tracing/metrics/system_health/hazard_metric.html#newcode182 tracing/tracing/metrics/system_health/hazard_metric.html:182: __proto__: Function.prototype On 2016/05/25 at 18:01:23, benjhayden_chromium wrote: > ...
4 years, 7 months ago (2016-05-25 22:21:43 UTC) #14
paulirish
hows this going? Lots of conversations around this metric recently. I'd love to get it ...
4 years, 6 months ago (2016-06-02 07:38:57 UTC) #15
bckenny2
On 2016/06/02 at 07:38:57, paulirish wrote: > hows this going? Lots of conversations around this ...
4 years, 6 months ago (2016-06-02 19:15:14 UTC) #16
bckenny2
lgtm
4 years, 6 months ago (2016-06-02 19:15:18 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1992303003/260001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1992303003/260001
4 years, 6 months ago (2016-06-03 16:18:17 UTC) #20
commit-bot: I haz the power
4 years, 6 months ago (2016-06-03 16:42:28 UTC) #22
Message was sent while issue was closed.
Committed patchset #10 (id:260001) as
https://chromium.googlesource.com/external/github.com/catapult-project/catapu...

Powered by Google App Engine
This is Rietveld 408576698