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

Issue 2789073002: [inspector] store stack frame in struct instead of JSObject (Closed)

Created:
3 years, 8 months ago by kozy
Modified:
3 years, 8 months ago
Reviewers:
Yang
CC:
v8-reviews_googlegroups.com
Target Ref:
refs/heads/master
Project:
v8
Visibility:
Public.

Description

[inspector] store stack frame in struct instead of JSObject JSObject is slow: creating strings for keys and storing values by these keys after takes significant amount of time. With this CL console methods (most of them collect top stack frame to calculate source location) are ~33% faster. V8Debugger::captureStackTrace is ~50% faster. BUG=v8:6189 R=yangguo@chromium.org TBR=bmeurer@chromium.org Review-Url: https://codereview.chromium.org/2789073002 Cr-Commit-Position: refs/heads/master@{#44344} Committed: https://chromium.googlesource.com/v8/v8/+/dc662e5b740c46dc6350485efd64bccd4a4d7630

Patch Set 1 #

Patch Set 2 : fixed wasm test #

Total comments: 2

Patch Set 3 : gcmole should be happy #

Unified diffs Side-by-side diffs Delta from patch set Stats (+164 lines, -186 lines) Patch
M include/v8.h View 1 chunk +2 lines, -2 lines 0 comments Download
M src/api.h View 3 chunks +3 lines, -3 lines 0 comments Download
M src/api.cc View 2 chunks +28 lines, -46 lines 0 comments Download
M src/ast/ast-types.cc View 1 chunk +1 line, -0 lines 0 comments Download
M src/compiler/types.cc View 1 chunk +1 line, -0 lines 0 comments Download
M src/deoptimizer.cc View 1 chunk +1 line, -0 lines 0 comments Download
M src/factory.h View 1 chunk +1 line, -0 lines 0 comments Download
M src/factory.cc View 1 chunk +13 lines, -0 lines 0 comments Download
M src/isolate.cc View 1 2 2 chunks +39 lines, -122 lines 0 comments Download
M src/objects.h View 5 chunks +40 lines, -0 lines 0 comments Download
M src/objects-debug.cc View 1 chunk +7 lines, -0 lines 0 comments Download
M src/objects-inl.h View 1 chunk +11 lines, -0 lines 0 comments Download
M src/objects-printer.cc View 1 chunk +13 lines, -0 lines 0 comments Download
M src/runtime/runtime-wasm.cc View 1 1 chunk +4 lines, -13 lines 0 comments Download

Messages

Total messages: 35 (28 generated)
kozy
Yang, please take a look. More details about performance in linked issue. Roadmap: - use ...
3 years, 8 months ago (2017-04-02 08:13:22 UTC) #10
Yang
LGTM. Some things to consider: - It might be even slightly faster if we do ...
3 years, 8 months ago (2017-04-03 07:58:41 UTC) #22
kozy
On 2017/04/03 07:58:41, Yang wrote: > - It might be even slightly faster if we ...
3 years, 8 months ago (2017-04-03 14:54:47 UTC) #25
kozy
https://codereview.chromium.org/2789073002/diff/20001/src/isolate.cc File src/isolate.cc (right): https://codereview.chromium.org/2789073002/diff/20001/src/isolate.cc#newcode633 src/isolate.cc:633: &info, Script::WITH_OFFSET); On 2017/04/03 07:58:40, Yang wrote: > Getting ...
3 years, 8 months ago (2017-04-03 14:54:56 UTC) #26
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/2789073002/40001
3 years, 8 months ago (2017-04-03 14:55:15 UTC) #29
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/2789073002/40001
3 years, 8 months ago (2017-04-03 14:56:24 UTC) #32
commit-bot: I haz the power
3 years, 8 months ago (2017-04-03 14:58:57 UTC) #35
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/v8/v8/+/dc662e5b740c46dc6350485efd64bccd4a4...

Powered by Google App Engine
This is Rietveld 408576698