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

Issue 2558913004: [inspector] Store interger in context embedder data instead of a string. (Closed)

Created:
4 years ago by dgozman
Modified:
4 years ago
Reviewers:
kozy, Yang
CC:
v8-reviews_googlegroups.com, Yang, devtools-reviews_chromium.org
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[inspector] Store interger in context embedder data instead of a string. This is to improve the performance of common operation of extracting contextId or contextGroupId out of Context. BUG=none Committed: https://crrev.com/2bdd0feb776508f79b7b28f9c6c8e4653a3f96e7 Cr-Commit-Position: refs/heads/master@{#41657}

Patch Set 1 #

Total comments: 5

Patch Set 2 : review comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+108 lines, -148 lines) Patch
M src/api.cc View 1 1 chunk +2 lines, -4 lines 0 comments Download
M src/debug/debug-interface.h View 1 chunk +1 line, -1 line 0 comments Download
M src/inspector/debugger-script.js View 2 chunks +2 lines, -19 lines 0 comments Download
M src/inspector/debugger_script_externs.js View 1 chunk +1 line, -0 lines 0 comments Download
M src/inspector/inspected-context.h View 1 chunk +2 lines, -0 lines 0 comments Download
M src/inspector/inspected-context.cc View 1 2 chunks +11 lines, -1 line 0 comments Download
M src/inspector/v8-debugger.h View 2 chunks +0 lines, -5 lines 0 comments Download
M src/inspector/v8-debugger.cc View 1 9 chunks +21 lines, -55 lines 0 comments Download
M src/inspector/v8-debugger-agent-impl.cc View 1 3 chunks +16 lines, -11 lines 0 comments Download
M src/inspector/v8-debugger-script.h View 1 chunk +0 lines, -1 line 0 comments Download
M src/inspector/v8-debugger-script.cc View 1 5 chunks +5 lines, -22 lines 0 comments Download
M src/inspector/v8-function-call.cc View 2 chunks +2 lines, -1 line 0 comments Download
M src/inspector/v8-heap-profiler-agent-impl.cc View 2 chunks +2 lines, -1 line 0 comments Download
M src/inspector/v8-inspector-impl.h View 3 chunks +5 lines, -0 lines 0 comments Download
M src/inspector/v8-inspector-impl.cc View 9 chunks +35 lines, -24 lines 0 comments Download
M src/inspector/v8-inspector-session-impl.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M src/inspector/v8-runtime-agent-impl.cc View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 26 (16 generated)
dgozman
Could you please take a look?
4 years ago (2016-12-08 23:34:28 UTC) #4
kozy
lgtm https://codereview.chromium.org/2558913004/diff/1/src/inspector/v8-debugger-agent-impl.cc File src/inspector/v8-debugger-agent-impl.cc (right): https://codereview.chromium.org/2558913004/diff/1/src/inspector/v8-debugger-agent-impl.cc#newcode1058 src/inspector/v8-debugger-agent-impl.cc:1058: if (inspected) { Could you put comment here ...
4 years ago (2016-12-09 00:24:27 UTC) #7
kozy
https://codereview.chromium.org/2558913004/diff/1/src/inspector/v8-debugger-script.cc File src/inspector/v8-debugger-script.cc (right): https://codereview.chromium.org/2558913004/diff/1/src/inspector/v8-debugger-script.cc#newcode105 src/inspector/v8-debugger-script.cc:105: static_cast<int>(v8::Int32::Cast(*contextData)->Value()); contextData.As<v8::Int32>()->Value() or v8::Local<v8::Int32>::Cast(contextData)->Value()
4 years ago (2016-12-09 00:25:13 UTC) #8
dgozman
Yang, could you please take a look at debug-interface and api.cc? Thank you! https://codereview.chromium.org/2558913004/diff/1/src/inspector/v8-debugger-agent-impl.cc File ...
4 years ago (2016-12-09 22:30:48 UTC) #9
dgozman
+Jochen for OWNER review of debug-interface.h and api.cc.
4 years ago (2016-12-12 20:43:05 UTC) #15
Yang
Sorry for the delay. I overlooked this CL. Lgtm.
4 years ago (2016-12-12 20:47:20 UTC) #16
dgozman
> Sorry for the delay. I overlooked this CL. Lgtm. Thanks, no worries!
4 years ago (2016-12-12 20:48:19 UTC) #18
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/2558913004/20001
4 years ago (2016-12-12 20:48:35 UTC) #21
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years ago (2016-12-12 21:16:27 UTC) #24
commit-bot: I haz the power
4 years ago (2016-12-12 21:17:43 UTC) #26
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/2bdd0feb776508f79b7b28f9c6c8e4653a3f96e7
Cr-Commit-Position: refs/heads/master@{#41657}

Powered by Google App Engine
This is Rietveld 408576698