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

Issue 181063008: Introduce Runtime_GetAllScopesDetails to get all scopes at once for a frame. (Closed)

Created:
6 years, 9 months ago by aandrey
Modified:
6 years, 9 months ago
Reviewers:
ulan, rossberg, yurys, Yang
CC:
v8-dev
Base URL:
git://github.com/v8/v8.git@master
Visibility:
Public.

Description

Introduce Runtime_GetAllScopesDetails to get all scopes at once for a frame. This will reduce heavy ScopeIterator instantiations. Once incorporated into chromium, will give 30% speed boost. BUG=chromium:340285 LOG=Y R=ulan@chromium.org, Yang, rossberg, ulan Committed: https://code.google.com/p/v8/source/detail?r=19717

Patch Set 1 #

Total comments: 14

Patch Set 2 : addressed #

Unified diffs Side-by-side diffs Delta from patch set Stats (+82 lines, -10 lines) Patch
M src/mirror-debugger.js View 4 chunks +19 lines, -5 lines 0 comments Download
M src/runtime.h View 1 chunk +1 line, -0 lines 0 comments Download
M src/runtime.cc View 1 4 chunks +51 lines, -5 lines 0 comments Download
M test/mjsunit/debug-scopes.js View 1 chunk +11 lines, -0 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
aandrey
6 years, 9 months ago (2014-02-28 14:46:00 UTC) #1
aandrey
ping?
6 years, 9 months ago (2014-03-04 09:11:39 UTC) #2
ulan
https://codereview.chromium.org/181063008/diff/1/src/mirror-debugger.js File src/mirror-debugger.js (right): https://codereview.chromium.org/181063008/diff/1/src/mirror-debugger.js#newcode1941 src/mirror-debugger.js:1941: function ScopeMirror(frame, function, index, opt_details) { Maybe just "details" ...
6 years, 9 months ago (2014-03-04 10:41:58 UTC) #3
aandrey
https://codereview.chromium.org/181063008/diff/1/src/mirror-debugger.js File src/mirror-debugger.js (right): https://codereview.chromium.org/181063008/diff/1/src/mirror-debugger.js#newcode1941 src/mirror-debugger.js:1941: function ScopeMirror(frame, function, index, opt_details) { On 2014/03/04 10:41:59, ...
6 years, 9 months ago (2014-03-04 11:04:19 UTC) #4
ulan
https://codereview.chromium.org/181063008/diff/1/src/mirror-debugger.js File src/mirror-debugger.js (right): https://codereview.chromium.org/181063008/diff/1/src/mirror-debugger.js#newcode1941 src/mirror-debugger.js:1941: function ScopeMirror(frame, function, index, opt_details) { On 2014/03/04 11:04:19, ...
6 years, 9 months ago (2014-03-04 11:28:15 UTC) #5
Yang
https://codereview.chromium.org/181063008/diff/1/src/mirror-debugger.js File src/mirror-debugger.js (right): https://codereview.chromium.org/181063008/diff/1/src/mirror-debugger.js#newcode1941 src/mirror-debugger.js:1941: function ScopeMirror(frame, function, index, opt_details) { On 2014/03/04 11:04:19, ...
6 years, 9 months ago (2014-03-04 11:31:35 UTC) #6
aandrey
https://codereview.chromium.org/181063008/diff/1/src/runtime.cc File src/runtime.cc (right): https://codereview.chromium.org/181063008/diff/1/src/runtime.cc#newcode12330 src/runtime.cc:12330: MaybeObject* maybe_object = MaterializeScopeDetails(isolate, &it); On 2014/03/04 11:31:35, Yang ...
6 years, 9 months ago (2014-03-04 12:39:07 UTC) #7
ulan
lgtm
6 years, 9 months ago (2014-03-04 12:44:26 UTC) #8
ulan
6 years, 9 months ago (2014-03-07 11:03:42 UTC) #9
Message was sent while issue was closed.
Committed patchset #2 manually as r19717 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698