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

Issue 309533016: Remove the weak dictionary that maps tab objects to it markers (Closed)

Created:
6 years, 6 months ago by nednguyen
Modified:
6 years, 6 months ago
Reviewers:
dtu, ernstm, nduca
CC:
chromium-reviews, tfarina, telemetry+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

Remove the weak dictionary that maps tab objects to it markers in tracing_timeline_data. We add the list of tab's markers to traces as metadata and later reconstruct the maps from tab markers to renderer thread in trace_event_importer. This makes it possible to reconstruct the timeline model with the mapping between tabs & renderer threads from the raw json tracing data. BUG= Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=275671

Patch Set 1 #

Total comments: 2

Patch Set 2 : Address Manfred's comments about naming #

Patch Set 3 : Address Nat's comments #

Patch Set 4 : Address Nat's comment #

Patch Set 5 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+154 lines, -70 lines) Patch
M tools/perf/measurements/loading_trace.py View 1 chunk +1 line, -1 line 0 comments Download
M tools/perf/measurements/smoothness_controller.py View 1 2 3 1 chunk +2 lines, -1 line 0 comments Download
M tools/perf/measurements/thread_times.py View 1 chunk +1 line, -1 line 0 comments Download
M tools/perf/measurements/timeline_controller.py View 1 2 3 1 chunk +2 lines, -2 lines 0 comments Download
M tools/telemetry/telemetry/core/backends/chrome/chrome_browser_backend.py View 1 2 3 4 2 chunks +10 lines, -5 lines 0 comments Download
M tools/telemetry/telemetry/core/backends/chrome/inspector_backend.py View 1 2 3 4 1 chunk +4 lines, -0 lines 0 comments Download
M tools/telemetry/telemetry/core/backends/chrome/tracing_backend.py View 3 chunks +2 lines, -11 lines 0 comments Download
M tools/telemetry/telemetry/core/backends/chrome/tracing_timeline_data.py View 1 chunk +5 lines, -21 lines 0 comments Download
M tools/telemetry/telemetry/core/backends/webdriver/webdriver_tab_backend.py View 1 2 3 4 1 chunk +4 lines, -0 lines 0 comments Download
M tools/telemetry/telemetry/core/tab_unittest.py View 1 2 3 2 chunks +43 lines, -1 line 0 comments Download
M tools/telemetry/telemetry/core/timeline/model.py View 1 2 3 4 chunks +15 lines, -22 lines 0 comments Download
M tools/telemetry/telemetry/core/timeline/trace_event_importer.py View 1 2 4 chunks +23 lines, -3 lines 0 comments Download
M tools/telemetry/telemetry/core/timeline/trace_event_importer_unittest.py View 1 1 chunk +35 lines, -0 lines 0 comments Download
M tools/telemetry/telemetry/core/web_contents.py View 1 2 3 1 chunk +5 lines, -0 lines 0 comments Download
M tools/telemetry/telemetry/page/actions/action_runner_unittest.py View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M tools/telemetry/telemetry/web_perf/timeline_based_measurement.py View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 21 (0 generated)
nednguyen
6 years, 6 months ago (2014-06-02 21:21:35 UTC) #1
ernstm
Can we distinguish more clearly between "ids" and "markers" in variable names, etc.? "markers" are ...
6 years, 6 months ago (2014-06-02 22:07:03 UTC) #2
nednguyen
On 2014/06/02 22:07:03, ernstm wrote: > Can we distinguish more clearly between "ids" and "markers" ...
6 years, 6 months ago (2014-06-02 22:23:29 UTC) #3
ernstm
On 2014/06/02 22:23:29, nednguyen wrote: > On 2014/06/02 22:07:03, ernstm wrote: > > Can we ...
6 years, 6 months ago (2014-06-02 22:36:33 UTC) #4
nednguyen
On 2014/06/02 22:36:33, ernstm wrote: > On 2014/06/02 22:23:29, nednguyen wrote: > > On 2014/06/02 ...
6 years, 6 months ago (2014-06-02 22:38:07 UTC) #5
nduca
https://codereview.chromium.org/309533016/diff/1/tools/telemetry/telemetry/core/backends/chrome/chrome_browser_backend.py File tools/telemetry/telemetry/core/backends/chrome/chrome_browser_backend.py (left): https://codereview.chromium.org/309533016/diff/1/tools/telemetry/telemetry/core/backends/chrome/chrome_browser_backend.py#oldcode30 tools/telemetry/telemetry/core/backends/chrome/chrome_browser_backend.py:30: class ChromeBrowserBackend(browser_backend.BrowserBackend): you have added a method to the ...
6 years, 6 months ago (2014-06-03 00:05:51 UTC) #6
nednguyen
On 2014/06/03 00:05:51, nduca wrote: > https://codereview.chromium.org/309533016/diff/1/tools/telemetry/telemetry/core/backends/chrome/chrome_browser_backend.py > File tools/telemetry/telemetry/core/backends/chrome/chrome_browser_backend.py > (left): > > https://codereview.chromium.org/309533016/diff/1/tools/telemetry/telemetry/core/backends/chrome/chrome_browser_backend.py#oldcode30 ...
6 years, 6 months ago (2014-06-03 15:39:24 UTC) #7
nduca
you still didnt' add a debugger_url property to the base class of the backend
6 years, 6 months ago (2014-06-06 16:06:25 UTC) #8
nduca
ugh, i was wrong, there isn't a base class for backends. can we move id ...
6 years, 6 months ago (2014-06-06 16:44:07 UTC) #9
nednguyen
On 2014/06/06 16:44:07, nduca wrote: > ugh, i was wrong, there isn't a base class ...
6 years, 6 months ago (2014-06-06 18:05:08 UTC) #10
nednguyen
On 2014/06/06 18:05:08, nednguyen wrote: > On 2014/06/06 16:44:07, nduca wrote: > > ugh, i ...
6 years, 6 months ago (2014-06-06 23:55:10 UTC) #11
nednguyen
The CQ bit was checked by nednguyen@google.com
6 years, 6 months ago (2014-06-06 23:55:15 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/nednguyen@google.com/309533016/80001
6 years, 6 months ago (2014-06-06 23:57:36 UTC) #13
nednguyen
The CQ bit was checked by nednguyen@google.com
6 years, 6 months ago (2014-06-07 02:00:53 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/nednguyen@google.com/309533016/100001
6 years, 6 months ago (2014-06-07 02:03:13 UTC) #15
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: linux_chromium_rel on tryserver.chromium ...
6 years, 6 months ago (2014-06-07 05:23:14 UTC) #16
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 6 months ago (2014-06-07 05:42:20 UTC) #17
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_rel on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/mac_chromium_rel/builds/36746)
6 years, 6 months ago (2014-06-07 05:42:20 UTC) #18
nednguyen
The CQ bit was checked by nednguyen@google.com
6 years, 6 months ago (2014-06-07 05:50:19 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/nednguyen@google.com/309533016/120001
6 years, 6 months ago (2014-06-07 05:52:54 UTC) #20
commit-bot: I haz the power
6 years, 6 months ago (2014-06-07 09:29:18 UTC) #21
Message was sent while issue was closed.
Change committed as 275671

Powered by Google App Engine
This is Rietveld 408576698