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

Issue 2710093005: Rename tracingMetric histograms to hacker_style. (Closed)

Created:
3 years, 10 months ago by benjhayden
Modified:
3 years, 10 months ago
CC:
catapult-reviews_chromium.org, tracing-review_chromium.org
Target Ref:
refs/heads/master
Project:
catapult
Visibility:
Public.

Description

Rename tracingMetric histograms to hacker_style. This style is more consistent with the other metrics. Some of the previous names are moved to Histogram.description. BUG=catapult:#3233 Review-Url: https://codereview.chromium.org/2710093005 Committed: https://chromium.googlesource.com/external/github.com/catapult-project/catapult/+/4c3dbb5cccad3b0ff1e5ddcb0538556f49def0fb

Patch Set 1 : . #

Patch Set 2 : rebase #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+37 lines, -35 lines) Patch
M tracing/tracing/metrics/tracing_metric.html View 1 3 chunks +25 lines, -14 lines 2 comments Download
M tracing/tracing/metrics/tracing_metric_test.html View 1 3 chunks +12 lines, -21 lines 0 comments Download

Messages

Total messages: 18 (11 generated)
benjhayden
PTAL :-)
3 years, 10 months ago (2017-02-23 17:56:51 UTC) #4
eakuefner
lgtm, thanks for doing this cleanup. can you propose an update to the style guide ...
3 years, 10 months ago (2017-02-23 18:09:18 UTC) #7
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/2710093005/40001
3 years, 10 months ago (2017-02-23 18:26:53 UTC) #9
commit-bot: I haz the power
Failed to apply patch for tracing/tracing/metrics/tracing_metric_test.html: While running git apply --index -p1; error: patch failed: ...
3 years, 10 months ago (2017-02-23 18:49:03 UTC) #11
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/2710093005/60001
3 years, 10 months ago (2017-02-23 19:03:02 UTC) #14
commit-bot: I haz the power
Committed patchset #2 (id:60001) as https://chromium.googlesource.com/external/github.com/catapult-project/catapult/+/4c3dbb5cccad3b0ff1e5ddcb0538556f49def0fb
3 years, 10 months ago (2017-02-23 19:24:59 UTC) #17
charliea (OOO until 10-5)
3 years, 10 months ago (2017-02-23 20:21:57 UTC) #18
Message was sent while issue was closed.
after-the-fact lgtm w/ nits

https://codereview.chromium.org/2710093005/diff/60001/tracing/tracing/metrics...
File tracing/tracing/metrics/tracing_metric.html (right):

https://codereview.chromium.org/2710093005/diff/60001/tracing/tracing/metrics...
tracing/tracing/metrics/tracing_metric.html:80: providerName +
'_memory_dump_cpu_overhead',
nit: this might be a good candidate for a template function, e.g.

    ...
    `${providerName}_memory_dump_cpu_overhead`,
    overhead.duration / overhead.count, histograms,
    ...

https://codereview.chromium.org/2710093005/diff/60001/tracing/tracing/metrics...
tracing/tracing/metrics/tracing_metric.html:91: 'Total trace size of
memory-infra dumps in bytes';
nit: this should be indented by four spaces instead of two

(why the hell didn't eslint catch this? grumble grumble)

Powered by Google App Engine
This is Rietveld 408576698