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

Issue 1336373002: Port rendering_stats' implementation to javascript (Closed)

Created:
5 years, 3 months ago by nednguyen
Modified:
4 years, 8 months ago
CC:
catapult-reviews_chromium.org, tracing-review_chromium.org
Base URL:
https://github.com/catapult-project/catapult@master
Target Ref:
refs/heads/master
Project:
catapult
Visibility:
Public.

Description

Port rendering_stats' implementation to javascript The original implementation can be found here: https://code.google.com/p/chromium/codesearch#chromium/src/tools/telemetry/telemetry/web_perf/metrics/rendering_stats.py Steps: 1) Add rendering_frame.html (DONE) 2) Add rendering_stats.html (which uses rendering_frame.html - this patch) 3) Add smoothness.html (which uses rendering_stats.html) BUG=#1228

Patch Set 1 #

Total comments: 99

Patch Set 2 : Address some of the review comments #

Patch Set 3 : Address Dan's reviews #

Total comments: 8

Patch Set 4 : Address some of Nat's comments #

Total comments: 27
Unified diffs Side-by-side diffs Delta from patch set Stats (+1205 lines, -1 line) Patch
M perf_insights/perf_insights/timeline_based_measurement/rendering_frame.html View 1 2 1 chunk +2 lines, -1 line 1 comment Download
A perf_insights/perf_insights/timeline_based_measurement/rendering_stats.html View 1 2 1 chunk +407 lines, -0 lines 18 comments Download
A perf_insights/perf_insights/timeline_based_measurement/rendering_stats_test.html View 1 2 1 chunk +734 lines, -0 lines 6 comments Download
M tracing/tracing/base/math.html View 1 2 chunks +7 lines, -0 lines 1 comment Download
M tracing/tracing/base/utils.html View 1 2 3 2 chunks +5 lines, -0 lines 1 comment Download
M tracing/tracing/base/utils_test.html View 1 chunk +6 lines, -0 lines 0 comments Download
M tracing/tracing/extras/chrome/cc/constants.html View 1 1 chunk +44 lines, -0 lines 0 comments Download

Messages

Total messages: 11 (3 generated)
nednguyen
5 years, 3 months ago (2015-09-14 17:58:52 UTC) #2
dsinclair
https://codereview.chromium.org/1336373002/diff/1/perf_insights/perf_insights/timeline_based_measurement/rendering_stats.html File perf_insights/perf_insights/timeline_based_measurement/rendering_stats.html (right): https://codereview.chromium.org/1336373002/diff/1/perf_insights/perf_insights/timeline_based_measurement/rendering_stats.html#newcode12 perf_insights/perf_insights/timeline_based_measurement/rendering_stats.html:12: href="/perf_insights/timeline_based_measurement/rendering_frame.html"> Move this before the tracing importers. https://codereview.chromium.org/1336373002/diff/1/perf_insights/perf_insights/timeline_based_measurement/rendering_stats.html#newcode28 perf_insights/perf_insights/timeline_based_measurement/rendering_stats.html:28: ...
5 years, 3 months ago (2015-09-15 20:48:33 UTC) #4
nednguyen
Thanks for your thorough review, Dan! I will work on are code with either extras/chrome/cc/input_latency_async_slice.html ...
5 years, 3 months ago (2015-09-21 17:20:53 UTC) #5
nduca
https://codereview.chromium.org/1336373002/diff/40001/perf_insights/perf_insights/timeline_based_measurement/rendering_frame.html File perf_insights/perf_insights/timeline_based_measurement/rendering_frame.html (right): https://codereview.chromium.org/1336373002/diff/40001/perf_insights/perf_insights/timeline_based_measurement/rendering_frame.html#newcode36 perf_insights/perf_insights/timeline_based_measurement/rendering_frame.html:36: var allSendBeginFrameEvents = events.filter(function(e) { lets file a bug ...
5 years, 3 months ago (2015-09-21 19:55:16 UTC) #6
nednguyen
https://codereview.chromium.org/1336373002/diff/40001/perf_insights/perf_insights/timeline_based_measurement/rendering_frame.html File perf_insights/perf_insights/timeline_based_measurement/rendering_frame.html (right): https://codereview.chromium.org/1336373002/diff/40001/perf_insights/perf_insights/timeline_based_measurement/rendering_frame.html#newcode36 perf_insights/perf_insights/timeline_based_measurement/rendering_frame.html:36: var allSendBeginFrameEvents = events.filter(function(e) { On 2015/09/21 19:55:15, nduca ...
5 years, 3 months ago (2015-09-21 20:09:54 UTC) #7
dsinclair
This seems like it has some overlap with the IR finding code, things like finding ...
5 years, 3 months ago (2015-09-22 16:08:33 UTC) #9
benjhayden
https://codereview.chromium.org/1336373002/diff/60001/perf_insights/perf_insights/timeline_based_measurement/rendering_frame.html File perf_insights/perf_insights/timeline_based_measurement/rendering_frame.html (right): https://codereview.chromium.org/1336373002/diff/60001/perf_insights/perf_insights/timeline_based_measurement/rendering_frame.html#newcode86 perf_insights/perf_insights/timeline_based_measurement/rendering_frame.html:86: var err = new Error( What is the purpose ...
5 years, 3 months ago (2015-09-25 02:01:18 UTC) #10
benjhayden
5 years, 3 months ago (2015-09-25 02:09:42 UTC) #11
If this implementation is intended to provide a seamless transition from the
existing implementation, then it should not switch to using the RAILIRFinder,
because it is radically different. I'd have to sit down with somebody for a
while to see which implementation is smarter, and in which cases.
Even if this implementation is not intended to provide a seamless transition,
I'd still want to fix Load IRs at a bare minimum before recommending switching
any analysis that is relied upon over to the RAILIRFinder.
But yes, eventually, I'd love to have the RAILIRFinder be smart enough that the
perf dashboard relies on it.

Powered by Google App Engine
This is Rietveld 408576698