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

Issue 1309143006: [Telemetry] Update the ConfindenceInterval calculation in results.html to use (Closed)

Created:
5 years, 3 months ago by nednguyen
Modified:
5 years, 2 months ago
Reviewers:
eakuefner, 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

[Telemetry] Update the ConfindenceInterval calculation in results.html to use provided std from value. BUG=516344 Committed: https://crrev.com/132e63c60acba0926c383929dd9050e1285f968d Cr-Commit-Position: refs/heads/master@{#348172}

Patch Set 1 : #

Total comments: 10

Patch Set 2 : Address review comments #

Total comments: 6

Patch Set 3 : Address petrcermak's comment #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+57 lines, -15 lines) Patch
M tools/telemetry/support/html_output/results-template.html View 1 2 3 chunks +9 lines, -2 lines 2 comments Download
M tools/telemetry/telemetry/internal/results/html_output_formatter.py View 3 chunks +11 lines, -3 lines 0 comments Download
M tools/telemetry/telemetry/internal/results/html_output_formatter_unittest.py View 1 8 chunks +12 lines, -0 lines 0 comments Download
M tools/telemetry/third_party/WebKit/PerformanceTests/resources/statistics.js View 1 2 2 chunks +20 lines, -8 lines 0 comments Download
M tools/telemetry/third_party/WebKit/README.chromium View 1 2 1 chunk +5 lines, -2 lines 0 comments Download

Messages

Total messages: 24 (6 generated)
nednguyen
I am cringe at the lack of tests to the results.html code but adding infra ...
5 years, 3 months ago (2015-09-09 18:24:08 UTC) #3
eakuefner
On 2015/09/09 at 18:24:08, nednguyen wrote: > I am cringe at the lack of tests ...
5 years, 3 months ago (2015-09-09 18:30:07 UTC) #4
petrcermak
Here's a couple of comments. Thanks, Petr https://codereview.chromium.org/1309143006/diff/20001/tools/telemetry/support/html_output/results-template.html File tools/telemetry/support/html_output/results-template.html (right): https://codereview.chromium.org/1309143006/diff/20001/tools/telemetry/support/html_output/results-template.html#newcode325 tools/telemetry/support/html_output/results-template.html:325: return metric.scalingFactor() ...
5 years, 3 months ago (2015-09-09 18:44:40 UTC) #5
petrcermak
BTW, the title of the patch is incomplete (due to a line break in the ...
5 years, 3 months ago (2015-09-09 19:11:48 UTC) #6
nednguyen
https://codereview.chromium.org/1309143006/diff/20001/tools/telemetry/support/html_output/results-template.html File tools/telemetry/support/html_output/results-template.html (right): https://codereview.chromium.org/1309143006/diff/20001/tools/telemetry/support/html_output/results-template.html#newcode325 tools/telemetry/support/html_output/results-template.html:325: return metric.scalingFactor() * Statistics.confidenceIntervalDeltaFromStd(0.95, values.length, On 2015/09/09 18:44:40, petrcermak ...
5 years, 3 months ago (2015-09-09 22:29:06 UTC) #7
petrcermak
LGTM with 3 more comments. Thanks, Petr https://codereview.chromium.org/1309143006/diff/20001/tools/telemetry/third_party/WebKit/PerformanceTests/resources/statistics.js File tools/telemetry/third_party/WebKit/PerformanceTests/resources/statistics.js (right): https://codereview.chromium.org/1309143006/diff/20001/tools/telemetry/third_party/WebKit/PerformanceTests/resources/statistics.js#newcode79 tools/telemetry/third_party/WebKit/PerformanceTests/resources/statistics.js:79: var degreesOfFreedom ...
5 years, 3 months ago (2015-09-10 09:04:09 UTC) #8
nednguyen
https://codereview.chromium.org/1309143006/diff/40001/tools/telemetry/support/html_output/results-template.html File tools/telemetry/support/html_output/results-template.html (right): https://codereview.chromium.org/1309143006/diff/40001/tools/telemetry/support/html_output/results-template.html#newcode282 tools/telemetry/support/html_output/results-template.html:282: function TestResult(metric, values, associatedRun, std, degreeOfFreedom) { On 2015/09/10 ...
5 years, 3 months ago (2015-09-10 15:11:59 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1309143006/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1309143006/60001
5 years, 3 months ago (2015-09-10 15:12:48 UTC) #12
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_rel_ng on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_ng/builds/111176)
5 years, 3 months ago (2015-09-10 16:14:24 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1309143006/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1309143006/60001
5 years, 3 months ago (2015-09-10 16:27:43 UTC) #16
commit-bot: I haz the power
Committed patchset #3 (id:60001)
5 years, 3 months ago (2015-09-10 17:16:03 UTC) #17
commit-bot: I haz the power
Patchset 3 (id:??) landed as https://crrev.com/132e63c60acba0926c383929dd9050e1285f968d Cr-Commit-Position: refs/heads/master@{#348172}
5 years, 3 months ago (2015-09-10 17:16:47 UTC) #18
commit-bot: I haz the power
Patchset 3 (id:??) landed as https://crrev.com/132e63c60acba0926c383929dd9050e1285f968d Cr-Commit-Position: refs/heads/master@{#348172}
5 years, 3 months ago (2015-09-23 12:11:34 UTC) #19
Yuta Kitamura
https://codereview.chromium.org/1309143006/diff/60001/tools/telemetry/support/html_output/results-template.html File tools/telemetry/support/html_output/results-template.html (right): https://codereview.chromium.org/1309143006/diff/60001/tools/telemetry/support/html_output/results-template.html#newcode325 tools/telemetry/support/html_output/results-template.html:325: return metric.scalingFactor() * Statistics.confidenceIntervalDeltaFromStd(0.95, values.length, On my environment, I ...
5 years, 2 months ago (2015-09-28 04:32:37 UTC) #20
nednguyen
https://codereview.chromium.org/1309143006/diff/60001/tools/telemetry/support/html_output/results-template.html File tools/telemetry/support/html_output/results-template.html (right): https://codereview.chromium.org/1309143006/diff/60001/tools/telemetry/support/html_output/results-template.html#newcode325 tools/telemetry/support/html_output/results-template.html:325: return metric.scalingFactor() * Statistics.confidenceIntervalDeltaFromStd(0.95, values.length, On 2015/09/28 04:32:37, Yuta ...
5 years, 2 months ago (2015-09-28 15:33:23 UTC) #21
Yuta Kitamura
On 2015/09/28 at 15:33:23, nednguyen wrote: > https://codereview.chromium.org/1309143006/diff/60001/tools/telemetry/support/html_output/results-template.html > File tools/telemetry/support/html_output/results-template.html (right): > > https://codereview.chromium.org/1309143006/diff/60001/tools/telemetry/support/html_output/results-template.html#newcode325 ...
5 years, 2 months ago (2015-09-29 03:47:14 UTC) #22
Yuta Kitamura
On 2015/09/29 at 03:47:14, Yuta Kitamura wrote: > On 2015/09/28 at 15:33:23, nednguyen wrote: > ...
5 years, 2 months ago (2015-09-29 03:50:54 UTC) #23
eakuefner
5 years, 2 months ago (2015-09-29 05:37:51 UTC) #24
Message was sent while issue was closed.
On 2015/09/29 at 03:50:54, yutak wrote:
> On 2015/09/29 at 03:47:14, Yuta Kitamura wrote:
> > On 2015/09/28 at 15:33:23, nednguyen wrote:
> > >
https://codereview.chromium.org/1309143006/diff/60001/tools/telemetry/support...
> > > File tools/telemetry/support/html_output/results-template.html (right):
> > > 
> > >
https://codereview.chromium.org/1309143006/diff/60001/tools/telemetry/support...
> > > tools/telemetry/support/html_output/results-template.html:325: return
metric.scalingFactor() * Statistics.confidenceIntervalDeltaFromStd(0.95,
values.length,
> > > On 2015/09/28 04:32:37, Yuta Kitamura wrote:
> > > > On my environment, I consistently see the following error,
> > > > preventing the results from getting shown:
> > > > 
> > > > > Uncaught TypeError: Statistics.confidenceIntervalDeltaFromStd is not a
> > > > function
> > > > 
> > > > Seems like confidenceIntervalDeltaFromStd is not defined.
> > > > At least there's none in
> > > > third_party/WebKit/PerformanceTests/resources/statistics.js.
> > > > 
> > > > Can you fix this?
> > > 
> > > I cannot reproduce this error (see http://imgur.com/A6DYJBL). This is
really strange, can you check
src/tools/telemetry/third_party/WebKit/PerformanceTests/resources/statistics.js
which is the one telemetry uses?
> > 
> > There's nothing containing "FromStd":
> >
https://chromium.googlesource.com/chromium/src/+/master/third_party/WebKit/Pe...
> 
> Ah, under tools/telemetry/! I didn't know telemetry has its own copy of
statistics.js...
> 
> Sorry for the noise.
> 
> (A bit more context: I have my own tool to rebuild results.html and it pulls
statistics.js
> from a real Blink directory.)

You could probably upstream Telemetry's local modifications to statistics.js if
that would be helpful. We've just been using it as a repository for JS
statistics helpers, so there haven't been any plumbing changes that would break
compatibility with PerformanceTests.

Powered by Google App Engine
This is Rietveld 408576698