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

Issue 1281883002: Group lexical context variables for faster look up. (Closed)

Created:
5 years, 4 months ago by Yang
Modified:
5 years, 4 months ago
Reviewers:
rossberg
CC:
v8-dev, Benedikt Meurer
Base URL:
https://chromium.googlesource.com/v8/v8.git@master
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

Group lexical context variables for faster look up. Currently, looking up a lexical context variable requires looking up the variable name and then checking its mode. This can be a bottleneck in Runtime_DeclareGlobals, even when no lexical context variables are declared. R=rossberg@chromium.org BUG=crbug:517778 LOG=N Committed: https://crrev.com/a45ed17bb6aca02e940f13bbf456d660cccc86ae Cr-Commit-Position: refs/heads/master@{#30075}

Patch Set 1 #

Total comments: 1

Patch Set 2 : added comments and TODOs #

Unified diffs Side-by-side diffs Delta from patch set Stats (+74 lines, -7 lines) Patch
M src/contexts.h View 1 chunk +4 lines, -0 lines 0 comments Download
M src/contexts.cc View 1 chunk +13 lines, -0 lines 0 comments Download
M src/objects.h View 2 chunks +4 lines, -0 lines 0 comments Download
M src/runtime/runtime-scopes.cc View 1 2 chunks +11 lines, -6 lines 0 comments Download
M src/scopeinfo.cc View 1 5 chunks +37 lines, -0 lines 0 comments Download
M src/scopes.cc View 1 chunk +5 lines, -1 line 0 comments Download

Messages

Total messages: 9 (2 generated)
Yang
5 years, 4 months ago (2015-08-07 11:40:17 UTC) #1
rossberg
LGTM, I'm fine with landing this as a temporary hack, but can we have a ...
5 years, 4 months ago (2015-08-07 13:37:08 UTC) #2
Yang
On 2015/08/07 13:37:08, rossberg wrote: > LGTM, I'm fine with landing this as a temporary ...
5 years, 4 months ago (2015-08-07 21:43:12 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1281883002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1281883002/20001
5 years, 4 months ago (2015-08-07 21:45:14 UTC) #6
commit-bot: I haz the power
Committed patchset #2 (id:20001)
5 years, 4 months ago (2015-08-07 22:22:41 UTC) #7
commit-bot: I haz the power
Patchset 2 (id:??) landed as https://crrev.com/a45ed17bb6aca02e940f13bbf456d660cccc86ae Cr-Commit-Position: refs/heads/master@{#30075}
5 years, 4 months ago (2015-08-07 22:23:58 UTC) #8
Yang
5 years, 4 months ago (2015-08-13 06:55:52 UTC) #9
Message was sent while issue was closed.
A revert of this CL (patchset #2 id:20001) has been created in
https://codereview.chromium.org/1290053002/ by yangguo@chromium.org.

The reason for reverting is: This performance hack is no longer necessary..

Powered by Google App Engine
This is Rietveld 408576698