Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(18)

Issue 237520043: Highlight all the associate flow events for an input event (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
8 years, 11 months ago by yuhaoz
Modified:
8 years, 10 months ago
Reviewers:
benjhayden, nduca
CC:
trace-viewer-review_googlegroups.com
Base URL:
git@github.com:google/trace-viewer.git@master
Visibility:
Public.

Description

Highlight all the associate flow events for an input event BUG=#948 R=nduca@chromium.org Committed: https://chromium.googlesource.com/external/trace-viewer/+/202afe717e19c4cda9614bf79a6d83c3d4e2a5ba

Patch Set 1 #

Total comments: 6

Patch Set 2 : Highlight all the events on the flow path, cache associatedEvents_ #

Patch Set 3 : Create a task to build index map in trace_model #

Patch Set 4 : Create tests for associatedEvents for InputLatencyAsyncSlice #

Total comments: 6

Patch Set 5 : Move most of the trace model indices implementations to trace_model_indices.html #

Total comments: 7

Patch Set 6 : Refactor input_latency_async_slice_test using newModel, add trace_model_indices_test #

Patch Set 7 : Enhance extras/chrome/cc/input_latency_async_slice_test test to make sure that we are not recoding … #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+208 lines, -1 line) Patch
M BUILD.gn View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M trace_viewer.gyp View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M trace_viewer/core/trace_model/trace_model.html View 1 2 3 4 5 3 chunks +8 lines, -0 lines 0 comments Download
A trace_viewer/core/trace_model/trace_model_indices.html View 1 2 3 4 5 1 chunk +55 lines, -0 lines 0 comments Download
A trace_viewer/core/trace_model/trace_model_indices_test.html View 1 2 3 4 5 1 chunk +45 lines, -0 lines 0 comments Download
M trace_viewer/core/trace_model/trace_model_test.html View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M trace_viewer/extras/chrome/cc/input_latency_async_slice.html View 1 2 3 4 5 6 1 chunk +21 lines, -1 line 2 comments Download
M trace_viewer/extras/chrome/cc/input_latency_async_slice_test.html View 1 2 3 4 5 6 2 chunks +76 lines, -0 lines 0 comments Download

Messages

Total messages: 12
yuhaoz
For now, I just highlighted all the flow events (i.e., the arrows). But I would ...
8 years, 11 months ago (2015-05-27 01:19:56 UTC) #1
nduca
unit test plox https://codereview.appspot.com/237520043/diff/1/trace_viewer/extras/chrome/cc/input_latency_async_slice.html File trace_viewer/extras/chrome/cc/input_latency_async_slice.html (right): https://codereview.appspot.com/237520043/diff/1/trace_viewer/extras/chrome/cc/input_latency_async_slice.html#newcode29 trace_viewer/extras/chrome/cc/input_latency_async_slice.html:29: var associatedEvents = []; should we ...
8 years, 11 months ago (2015-05-27 01:26:24 UTC) #2
yuhaoz
https://codereview.appspot.com/237520043/diff/1/trace_viewer/extras/chrome/cc/input_latency_async_slice.html File trace_viewer/extras/chrome/cc/input_latency_async_slice.html (right): https://codereview.appspot.com/237520043/diff/1/trace_viewer/extras/chrome/cc/input_latency_async_slice.html#newcode29 trace_viewer/extras/chrome/cc/input_latency_async_slice.html:29: var associatedEvents = []; On 2015/05/27 01:26:24, nduca wrote: ...
8 years, 11 months ago (2015-05-27 15:09:19 UTC) #3
yuhaoz
On 2015/05/27 15:09:19, yuhaoz wrote: Now I also highlight all the events along the flow ...
8 years, 11 months ago (2015-05-27 15:10:03 UTC) #4
nduca
> Can I just edit trace_model itself? I am afraid of conflict, etc. yes, we ...
8 years, 11 months ago (2015-05-27 17:44:45 UTC) #5
yuhaoz
On 2015/05/27 17:44:45, nduca wrote: Now flowEventsIndexMap is just a local variable in trace_model. Do ...
8 years, 11 months ago (2015-05-27 21:03:36 UTC) #6
nduca
https://codereview.appspot.com/237520043/diff/60001/trace_viewer/core/trace_model/flow_event_index.html File trace_viewer/core/trace_model/flow_event_index.html (right): https://codereview.appspot.com/237520043/diff/60001/trace_viewer/core/trace_model/flow_event_index.html#newcode23 trace_viewer/core/trace_model/flow_event_index.html:23: function FlowEventIndexMap() { TraceModelIndices https://codereview.appspot.com/237520043/diff/60001/trace_viewer/core/trace_model/flow_event_index.html#newcode23 trace_viewer/core/trace_model/flow_event_index.html:23: function FlowEventIndexMap() { ...
8 years, 11 months ago (2015-05-28 00:10:32 UTC) #7
nduca
aaalmost :) https://codereview.appspot.com/237520043/diff/80001/trace_viewer/core/trace_model/trace_model.html File trace_viewer/core/trace_model/trace_model.html (right): https://codereview.appspot.com/237520043/diff/80001/trace_viewer/core/trace_model/trace_model.html#newcode121 trace_viewer/core/trace_model/trace_model.html:121: this.flowEventsIndices = {}; why is this {}? ...
8 years, 10 months ago (2015-05-28 03:05:35 UTC) #8
nduca
https://codereview.appspot.com/237520043/diff/80001/trace_viewer/core/trace_model/trace_model.html File trace_viewer/core/trace_model/trace_model.html (left): https://codereview.appspot.com/237520043/diff/80001/trace_viewer/core/trace_model/trace_model.html#oldcode15 trace_viewer/core/trace_model/trace_model.html:15: <link rel="import" href="/core/importer/empty_importer.html"> you should modify an existing set ...
8 years, 10 months ago (2015-05-28 03:10:56 UTC) #9
nduca
lgtm https://codereview.appspot.com/237520043/diff/120001/trace_viewer/extras/chrome/cc/input_latency_async_slice.html File trace_viewer/extras/chrome/cc/input_latency_async_slice.html (right): https://codereview.appspot.com/237520043/diff/120001/trace_viewer/extras/chrome/cc/input_latency_async_slice.html#newcode36 trace_viewer/extras/chrome/cc/input_latency_async_slice.html:36: var guidAddedToEvents = {} https://codereview.appspot.com/237520043/diff/120001/trace_viewer/extras/chrome/cc/input_latency_async_slice.html#newcode39 trace_viewer/extras/chrome/cc/input_latency_async_slice.html:39: if (flowEvent.startSlice ...
8 years, 10 months ago (2015-05-29 00:07:33 UTC) #10
nduca
lgtm
8 years, 10 months ago (2015-05-29 00:12:24 UTC) #11
yuhaoz
8 years, 10 months ago (2015-05-29 01:42:18 UTC) #12
Message was sent while issue was closed.
Committed patchset #7 (id:120001) manually as
202afe717e19c4cda9614bf79a6d83c3d4e2a5ba (presubmit successful).
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b