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 #
Messages
Total messages: 35 (28 generated)
|