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

Issue 2539323002: PerformanceMonitor: do not maintain a vector of frames in the monitor, single ExecutionContext memb… (Closed)

Created:
4 years ago by pfeldman
Modified:
4 years ago
Reviewers:
caseq, panicker
CC:
chromium-reviews, blink-reviews
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

PerformanceMonitor: do not maintain a vector of frames in the monitor, single ExecutionContext member should suffice. Committed: https://crrev.com/f8a7ef85fb385739446dc3178c6b84fadd84ae5f Cr-Commit-Position: refs/heads/master@{#436128}

Patch Set 1 #

Total comments: 2

Patch Set 2 : review comments addressed #

Total comments: 2

Patch Set 3 : same #

Patch Set 4 : update after clear subscriptions #

Total comments: 1

Patch Set 5 : off-by-one in depth fixed #

Unified diffs Side-by-side diffs Delta from patch set Stats (+111 lines, -83 lines) Patch
M third_party/WebKit/Source/core/frame/LocalFrame.cpp View 1 2 1 chunk +3 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/frame/PerformanceMonitor.h View 4 chunks +11 lines, -9 lines 0 comments Download
M third_party/WebKit/Source/core/frame/PerformanceMonitor.cpp View 1 2 3 4 8 chunks +52 lines, -41 lines 0 comments Download
M third_party/WebKit/Source/core/frame/PerformanceMonitorTest.cpp View 2 chunks +8 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/core/timing/Performance.h View 1 chunk +4 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/timing/Performance.cpp View 1 3 chunks +18 lines, -15 lines 0 comments Download
M third_party/WebKit/Source/core/timing/PerformanceTest.cpp View 2 chunks +15 lines, -12 lines 0 comments Download

Messages

Total messages: 31 (10 generated)
pfeldman
4 years ago (2016-12-01 02:02:25 UTC) #2
caseq
https://codereview.chromium.org/2539323002/diff/1/third_party/WebKit/Source/core/frame/LocalFrame.cpp File third_party/WebKit/Source/core/frame/LocalFrame.cpp (right): https://codereview.chromium.org/2539323002/diff/1/third_party/WebKit/Source/core/frame/LocalFrame.cpp#newcode428 third_party/WebKit/Source/core/frame/LocalFrame.cpp:428: m_performanceMonitor->shutdown(); This does not look good already.
4 years ago (2016-12-01 02:04:04 UTC) #3
caseq
https://codereview.chromium.org/2539323002/diff/1/third_party/WebKit/Source/core/timing/Performance.cpp File third_party/WebKit/Source/core/timing/Performance.cpp (right): https://codereview.chromium.org/2539323002/diff/1/third_party/WebKit/Source/core/timing/Performance.cpp#newcode172 third_party/WebKit/Source/core/timing/Performance.cpp:172: if (!taskContext || !taskContext->isDocument() || This will result in ...
4 years ago (2016-12-01 02:32:46 UTC) #5
pfeldman
all done, ptal!
4 years ago (2016-12-01 02:42:11 UTC) #6
caseq
https://codereview.chromium.org/2539323002/diff/20001/third_party/WebKit/Source/core/frame/LocalFrame.cpp File third_party/WebKit/Source/core/frame/LocalFrame.cpp (right): https://codereview.chromium.org/2539323002/diff/20001/third_party/WebKit/Source/core/frame/LocalFrame.cpp#newcode394 third_party/WebKit/Source/core/frame/LocalFrame.cpp:394: if (!tree().parent() || !tree().parent()->isLocalFrame()) Why not just check for ...
4 years ago (2016-12-01 02:45:30 UTC) #7
caseq
https://codereview.chromium.org/2539323002/diff/20001/third_party/WebKit/Source/core/frame/PerformanceMonitor.cpp File third_party/WebKit/Source/core/frame/PerformanceMonitor.cpp (right): https://codereview.chromium.org/2539323002/diff/20001/third_party/WebKit/Source/core/frame/PerformanceMonitor.cpp#newcode205 third_party/WebKit/Source/core/frame/PerformanceMonitor.cpp:205: m_subscriptions.clear(); Should you also clear thresholds here?
4 years ago (2016-12-01 02:48:54 UTC) #8
pfeldman
all done.
4 years ago (2016-12-01 02:50:48 UTC) #9
caseq
lgtm, but as discussed please also get one from Shubhie and make sure there's no ...
4 years ago (2016-12-01 02:51:56 UTC) #10
panicker
On 2016/12/01 02:50:48, pfeldman wrote: > all done. Hey folks, Can we talk about this ...
4 years ago (2016-12-01 02:58:17 UTC) #11
pfeldman
On 2016/12/01 02:58:17, Shubhie wrote: > On 2016/12/01 02:50:48, pfeldman wrote: > > all done. ...
4 years ago (2016-12-02 01:08:30 UTC) #12
panicker
https://codereview.chromium.org/2539323002/diff/60001/third_party/WebKit/Source/core/frame/PerformanceMonitor.h File third_party/WebKit/Source/core/frame/PerformanceMonitor.h (right): https://codereview.chromium.org/2539323002/diff/60001/third_party/WebKit/Source/core/frame/PerformanceMonitor.h#newcode150 third_party/WebKit/Source/core/frame/PerformanceMonitor.h:150: Member<ExecutionContext> m_taskExecutionContext; This should still be a Vector or ...
4 years ago (2016-12-02 01:29:58 UTC) #13
pfeldman
> This should still be a Vector or Set. > Other than that I don't ...
4 years ago (2016-12-02 01:37:14 UTC) #14
panicker
On 2016/12/02 01:37:14, pfeldman wrote: > > This should still be a Vector or Set. ...
4 years ago (2016-12-02 02:38:15 UTC) #15
pfeldman1
I don't think this relates to tasks vs contexts. This change does not regress existing ...
4 years ago (2016-12-02 02:55:52 UTC) #16
panicker
On 2016/12/02 02:55:52, pfeldman1 wrote: > I don't think this relates to tasks vs contexts. ...
4 years ago (2016-12-02 16:30:29 UTC) #17
pfeldman1
That's the thing, as we discussed, I don't think it'll be <Frame, String> pair, it'll ...
4 years ago (2016-12-02 17:18:38 UTC) #18
panicker
On 2016/12/02 17:18:38, pfeldman1 wrote: > That's the thing, as we discussed, I don't think ...
4 years ago (2016-12-02 17:20:15 UTC) #19
panicker
lgtm
4 years ago (2016-12-02 17:20:21 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2539323002/80001
4 years ago (2016-12-02 23:57:08 UTC) #27
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years ago (2016-12-03 01:31:25 UTC) #29
commit-bot: I haz the power
4 years ago (2016-12-03 01:34:01 UTC) #31
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/f8a7ef85fb385739446dc3178c6b84fadd84ae5f
Cr-Commit-Position: refs/heads/master@{#436128}

Powered by Google App Engine
This is Rietveld 408576698