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

Issue 2186593002: Add faster, but unsafe version of LoadInternalField. (Closed)

Created:
4 years, 4 months ago by Alfonso
Modified:
4 years, 4 months ago
Reviewers:
vogelheim
CC:
v8-reviews_googlegroups.com
Base URL:
https://chromium.googlesource.com/v8/v8.git@master
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

Add faster, but unsafe version of LoadInternalField. LoadInternalField performs some redundant checks in the context of fast accessors. This improves the speedup from 20% to 60% for next/previousSibling in the Dromaeo DOM traversal benchmarks. BUG=chromium:508898 Committed: https://crrev.com/d073777bbf60df574ad0ba4b6069c90752d01ff1 Cr-Commit-Position: refs/heads/master@{#38535}

Patch Set 1 #

Total comments: 6

Patch Set 2 : Refactor LoadInternalField and its unchecked counterpart #

Patch Set 3 : Refactor LoadInternalField and its unchecked counterpart #

Total comments: 6

Patch Set 4 : Fix nits #

Patch Set 5 : Revert 'deferred' label #

Unified diffs Side-by-side diffs Delta from patch set Stats (+108 lines, -41 lines) Patch
M include/v8-experimental.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M src/api-experimental.cc View 1 1 chunk +4 lines, -0 lines 0 comments Download
M src/fast-accessor-assembler.h View 1 2 3 2 chunks +11 lines, -0 lines 0 comments Download
M src/fast-accessor-assembler.cc View 1 2 3 4 3 chunks +66 lines, -31 lines 0 comments Download
M test/cctest/test-api-fast-accessor-builder.cc View 1 2 chunks +26 lines, -10 lines 0 comments Download

Messages

Total messages: 19 (11 generated)
Alfonso
On 2016/07/26 14:29:46, Alfonso wrote: > mailto:peterssen@google.com changed reviewers: > + mailto:vogelheim@chromium.org PTAL.
4 years, 4 months ago (2016-07-26 14:29:57 UTC) #3
vogelheim
https://codereview.chromium.org/2186593002/diff/1/src/fast-accessor-assembler.cc File src/fast-accessor-assembler.cc (right): https://codereview.chromium.org/2186593002/diff/1/src/fast-accessor-assembler.cc#newcode94 src/fast-accessor-assembler.cc:94: FastAccessorAssembler::ValueId FastAccessorAssembler::LoadInternalFieldUnsafe( I briefly discussed handling the LoadInternalField[Unsafe] variants. ...
4 years, 4 months ago (2016-07-27 09:50:56 UTC) #4
Alfonso
PTAL https://codereview.chromium.org/2186593002/diff/1/src/fast-accessor-assembler.cc File src/fast-accessor-assembler.cc (right): https://codereview.chromium.org/2186593002/diff/1/src/fast-accessor-assembler.cc#newcode94 src/fast-accessor-assembler.cc:94: FastAccessorAssembler::ValueId FastAccessorAssembler::LoadInternalFieldUnsafe( On 2016/07/27 09:50:56, vogelheim wrote: > ...
4 years, 4 months ago (2016-07-28 14:39:13 UTC) #5
vogelheim
lgtm, I like this. Some tiny nitpicks though, about comments & formatting. :) https://codereview.chromium.org/2186593002/diff/60001/src/fast-accessor-assembler.cc File ...
4 years, 4 months ago (2016-08-08 11:47:22 UTC) #7
Alfonso
Fixed nits, PTAL. https://codereview.chromium.org/2186593002/diff/60001/src/fast-accessor-assembler.cc File src/fast-accessor-assembler.cc (right): https://codereview.chromium.org/2186593002/diff/60001/src/fast-accessor-assembler.cc#newcode82 src/fast-accessor-assembler.cc:82: // Deliberately crash. On 2016/08/08 11:47:22, ...
4 years, 4 months ago (2016-08-08 13:03:29 UTC) #8
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/2186593002/100001
4 years, 4 months ago (2016-08-10 11:51:37 UTC) #15
commit-bot: I haz the power
Committed patchset #5 (id:100001)
4 years, 4 months ago (2016-08-10 11:53:59 UTC) #17
commit-bot: I haz the power
4 years, 4 months ago (2016-08-10 11:54:18 UTC) #19
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/d073777bbf60df574ad0ba4b6069c90752d01ff1
Cr-Commit-Position: refs/heads/master@{#38535}

Powered by Google App Engine
This is Rietveld 408576698