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

Issue 600213002: Instrumenting OnExtensionAddListener observer invocation (Closed)

Created:
6 years, 3 months ago by vadimt
Modified:
6 years, 2 months ago
CC:
chromium-reviews, chromium-apps-reviews_chromium.org, erikwright+watch_chromium.org, extensions-reviews_chromium.org, Alexei Svitkine (slow)
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Adding tracking to verify the theory that jankiness of ExtensionMessageFilter::OnExtensionAddListener is because of the observer invocation. BUG=401560, 417106 Committed: https://crrev.com/a19e4877974a6a0cfc53f92c1496a8f995fe2614 Cr-Commit-Position: refs/heads/master@{#296804}

Patch Set 1 #

Total comments: 3

Patch Set 2 : isherman@ comments #

Total comments: 2

Patch Set 3 : Another comment from isherman@ #

Total comments: 2

Patch Set 4 : brettw@ comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+19 lines, -29 lines) Patch
M base/profiler/scoped_profile.h View 1 2 1 chunk +5 lines, -20 lines 0 comments Download
M extensions/browser/event_router.cc View 1 2 3 2 chunks +7 lines, -1 line 0 comments Download
M ipc/ipc_message_macros.h View 1 3 chunks +4 lines, -4 lines 0 comments Download
M ppapi/host/dispatch_host_message.h View 1 3 chunks +3 lines, -3 lines 0 comments Download
M ppapi/proxy/dispatch_reply_message.h View 1 1 chunk +0 lines, -1 line 0 comments Download

Messages

Total messages: 23 (6 generated)
vadimt
isherman@, could you look at this before I send this to file owners? I introduce ...
6 years, 3 months ago (2014-09-24 23:20:27 UTC) #3
Ilya Sherman
https://codereview.chromium.org/600213002/diff/1/base/profiler/scoped_profile.h File base/profiler/scoped_profile.h (right): https://codereview.chromium.org/600213002/diff/1/base/profiler/scoped_profile.h#newcode51 base/profiler/scoped_profile.h:51: TRACK_RUN_IN_IPC_HANDLER(scope_name) It looks like all of the macros in ...
6 years, 3 months ago (2014-09-24 23:38:01 UTC) #4
vadimt
https://codereview.chromium.org/600213002/diff/1/base/profiler/scoped_profile.h File base/profiler/scoped_profile.h (right): https://codereview.chromium.org/600213002/diff/1/base/profiler/scoped_profile.h#newcode51 base/profiler/scoped_profile.h:51: TRACK_RUN_IN_IPC_HANDLER(scope_name) On 2014/09/24 23:38:01, Ilya Sherman wrote: > It ...
6 years, 3 months ago (2014-09-25 00:21:21 UTC) #5
Ilya Sherman
LGTM % a nit. Thanks, Vadim :) https://codereview.chromium.org/600213002/diff/20001/base/profiler/scoped_profile.h File base/profiler/scoped_profile.h (right): https://codereview.chromium.org/600213002/diff/20001/base/profiler/scoped_profile.h#newcode27 base/profiler/scoped_profile.h:27: // tools. ...
6 years, 2 months ago (2014-09-25 17:28:43 UTC) #6
vadimt
https://codereview.chromium.org/600213002/diff/20001/base/profiler/scoped_profile.h File base/profiler/scoped_profile.h (right): https://codereview.chromium.org/600213002/diff/20001/base/profiler/scoped_profile.h#newcode27 base/profiler/scoped_profile.h:27: // tools. On 2014/09/25 17:28:42, Ilya Sherman wrote: > ...
6 years, 2 months ago (2014-09-25 17:51:02 UTC) #7
vadimt
yoz@chromium.org: Please provide OWNER's approval for: extensions/browser/event_router.cc brettw@chromium.org: Please provide OWNER's approval for: base/profiler/scoped_profile.h dmichael@chromium.org: ...
6 years, 2 months ago (2014-09-25 18:06:36 UTC) #9
dmichael (off chromium)
ppapi lgtm
6 years, 2 months ago (2014-09-25 18:08:42 UTC) #10
Yoyo Zhou
event_router LGTM
6 years, 2 months ago (2014-09-25 19:40:43 UTC) #11
brettw
LGTM with a change https://codereview.chromium.org/600213002/diff/40001/extensions/browser/event_router.cc File extensions/browser/event_router.cc (right): https://codereview.chromium.org/600213002/diff/40001/extensions/browser/event_router.cc#newcode244 extensions/browser/event_router.cc:244: TRACK_RUN_IN_THIS_SCOPED_REGION(EventRouter_OnListenerAdded_ObserverCall); I'm OK renaming the ...
6 years, 2 months ago (2014-09-25 19:51:01 UTC) #12
vadimt
https://codereview.chromium.org/600213002/diff/40001/extensions/browser/event_router.cc File extensions/browser/event_router.cc (right): https://codereview.chromium.org/600213002/diff/40001/extensions/browser/event_router.cc#newcode244 extensions/browser/event_router.cc:244: TRACK_RUN_IN_THIS_SCOPED_REGION(EventRouter_OnListenerAdded_ObserverCall); 1. We have a server-side source parser (I'll ...
6 years, 2 months ago (2014-09-25 20:06:52 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/600213002/40001
6 years, 2 months ago (2014-09-25 20:08:22 UTC) #15
brettw
I disagree. ScopedProfile is not complicated. It's a class that takes a single argument in ...
6 years, 2 months ago (2014-09-25 20:19:32 UTC) #17
vadimt
Done. Please confirm that you like it. Note that I have to use FROM_HERE_WITH_EXPLICIT_FUNCTION so ...
6 years, 2 months ago (2014-09-25 20:39:20 UTC) #18
brettw
lgtm
6 years, 2 months ago (2014-09-25 20:41:21 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/600213002/60001
6 years, 2 months ago (2014-09-25 20:46:18 UTC) #21
commit-bot: I haz the power
Committed patchset #4 (id:60001) as 33e296684a245011f71d6371e33ca5b5f62e37aa
6 years, 2 months ago (2014-09-25 22:09:07 UTC) #22
commit-bot: I haz the power
6 years, 2 months ago (2014-09-25 22:09:41 UTC) #23
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/a19e4877974a6a0cfc53f92c1496a8f995fe2614
Cr-Commit-Position: refs/heads/master@{#296804}

Powered by Google App Engine
This is Rietveld 408576698