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

Issue 2742163002: Generalize delta statistics in Histogram. (Closed)

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

Description

Generalize delta statistics in Histogram. Currently, all delta statistics are handled specially everywhere. There is no way to compute delta min, max, sum, count, or percentiles. This CL generalizes support for delta statistics versions of all possible statistics in Histogram. BUG=catapult:#3319 Review-Url: https://codereview.chromium.org/2742163002 Committed: https://chromium.googlesource.com/external/github.com/catapult-project/catapult/+/05828b4341b99a4a54d24a5efa800e6aa9791a1d

Patch Set 1 : . #

Total comments: 8

Patch Set 2 : jsdoc style comments #

Total comments: 8

Patch Set 3 : remove iprs #

Total comments: 1

Patch Set 4 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+566 lines, -453 lines) Patch
M tracing/tracing/value/csv_builder.html View 1 2 1 chunk +2 lines, -8 lines 0 comments Download
M tracing/tracing/value/histogram.html View 1 2 3 7 chunks +101 lines, -74 lines 0 comments Download
M tracing/tracing/value/histogram_test.html View 1 2 3 1 chunk +87 lines, -0 lines 0 comments Download
M tracing/tracing/value/ui/histogram_set_table.html View 1 2 3 2 chunks +4 lines, -4 lines 0 comments Download
M tracing/tracing/value/ui/histogram_set_table_cell.html View 2 chunks +4 lines, -4 lines 0 comments Download
M tracing/tracing/value/ui/histogram_set_table_row.html View 1 2 3 1 chunk +6 lines, -4 lines 0 comments Download
M tracing/tracing/value/ui/histogram_set_table_test.html View 1 2 3 3 chunks +4 lines, -4 lines 0 comments Download
M tracing/tracing/value/ui/histogram_span.html View 1 2 3 1 chunk +358 lines, -355 lines 0 comments Download

Messages

Total messages: 30 (17 generated)
benjhayden
PTAL :-)
3 years, 9 months ago (2017-03-11 22:11:56 UTC) #8
tdresser
https://codereview.chromium.org/2742163002/diff/100001/tracing/tracing/value/csv_builder.html File tracing/tracing/value/csv_builder.html (right): https://codereview.chromium.org/2742163002/diff/100001/tracing/tracing/value/csv_builder.html#newcode73 tracing/tracing/value/csv_builder.html:73: for (const name of hist.statisticsNames) { Could this just ...
3 years, 9 months ago (2017-03-13 21:26:00 UTC) #9
benjhayden
Thanks! https://codereview.chromium.org/2742163002/diff/100001/tracing/tracing/value/csv_builder.html File tracing/tracing/value/csv_builder.html (right): https://codereview.chromium.org/2742163002/diff/100001/tracing/tracing/value/csv_builder.html#newcode73 tracing/tracing/value/csv_builder.html:73: for (const name of hist.statisticsNames) { On 2017/03/13 ...
3 years, 9 months ago (2017-03-13 21:56:54 UTC) #10
tdresser
LGTM with nits (but obviously wait for Ethan's feedback). https://codereview.chromium.org/2742163002/diff/100001/tracing/tracing/value/csv_builder.html File tracing/tracing/value/csv_builder.html (right): https://codereview.chromium.org/2742163002/diff/100001/tracing/tracing/value/csv_builder.html#newcode73 tracing/tracing/value/csv_builder.html:73: ...
3 years, 9 months ago (2017-03-14 14:25:55 UTC) #11
benjhayden
Thanks! https://codereview.chromium.org/2742163002/diff/120001/tracing/tracing/value/histogram.html File tracing/tracing/value/histogram.html (right): https://codereview.chromium.org/2742163002/diff/120001/tracing/tracing/value/histogram.html#newcode33 tracing/tracing/value/histogram.html:33: * @param {boolean=} opt_force3 Whether to force the ...
3 years, 9 months ago (2017-03-14 16:04:50 UTC) #12
tdresser
https://codereview.chromium.org/2742163002/diff/120001/tracing/tracing/value/histogram.html File tracing/tracing/value/histogram.html (right): https://codereview.chromium.org/2742163002/diff/120001/tracing/tracing/value/histogram.html#newcode33 tracing/tracing/value/histogram.html:33: * @param {boolean=} opt_force3 Whether to force the result ...
3 years, 9 months ago (2017-03-14 16:56:32 UTC) #13
benjhayden
I'll split adding IPRs to another CL, and keep this one just for generalizing delta ...
3 years, 9 months ago (2017-03-14 18:18:23 UTC) #14
benjhayden
PTAL IPRs are split out to https://codereview.chromium.org/2746363003
3 years, 9 months ago (2017-03-14 20:34:16 UTC) #21
eakuefner
lgtm
3 years, 9 months ago (2017-03-17 20:09:30 UTC) #22
benjhayden
https://codereview.chromium.org/2742163002/diff/240001/tracing/tracing/value/ui/histogram_set_table_test.html File tracing/tracing/value/ui/histogram_set_table_test.html (right): https://codereview.chromium.org/2742163002/diff/240001/tracing/tracing/value/ui/histogram_set_table_test.html#newcode452 tracing/tracing/value/ui/histogram_set_table_test.html:452: table.displayStatistic = '%' + tr.v.DELTA + 'avg'; format strings
3 years, 9 months ago (2017-03-17 20:10:09 UTC) #23
benjhayden
Format strings are done. I noticed that 21 statistics is a lot: 6 statistics enabled ...
3 years, 9 months ago (2017-03-18 05:54:42 UTC) #24
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/2742163002/260001
3 years, 9 months ago (2017-03-18 05:55:12 UTC) #27
commit-bot: I haz the power
3 years, 9 months ago (2017-03-18 06:17:42 UTC) #30
Message was sent while issue was closed.
Committed patchset #4 (id:260001) as
https://chromium.googlesource.com/external/github.com/catapult-project/catapu...

Powered by Google App Engine
This is Rietveld 408576698