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

Issue 1215863003: Include Harmony Array/TypedArray methods unconditionally (Closed)

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

Description

Include Harmony Array/TypedArray methods unconditionally Conditionally including Array and TypedArray methods seems to cause a slowdown in V8 context creation, possibly due to the new code added. BUG=chromium:504629 R=adamk@chromium.org LOG=Y Committed: https://crrev.com/a1dcac3df7a23a311dea12b8478e3c7517877496 Cr-Commit-Position: refs/heads/master@{#29430}

Patch Set 1 #

Patch Set 2 : remove the flag and move the tests #

Unified diffs Side-by-side diffs Delta from patch set Stats (+12 lines, -2809 lines) Patch
M BUILD.gn View 1 2 chunks +2 lines, -2 lines 0 comments Download
M src/bootstrapper.cc View 1 3 chunks +0 lines, -4 lines 0 comments Download
M src/flag-definitions.h View 1 1 chunk +0 lines, -1 line 0 comments Download
M src/runtime/runtime-array.cc View 1 1 chunk +7 lines, -9 lines 0 comments Download
A + test/mjsunit/es6/typedarray.js View 1 0 chunks +-1 lines, --1 lines 0 comments Download
A + test/mjsunit/es6/typedarray-copywithin.js View 1 1 chunk +0 lines, -2 lines 0 comments Download
A + test/mjsunit/es6/typedarray-every.js View 1 1 chunk +1 line, -1 line 0 comments Download
A + test/mjsunit/es6/typedarray-fill.js View 1 1 chunk +0 lines, -2 lines 0 comments Download
A + test/mjsunit/es6/typedarray-find.js View 1 1 chunk +0 lines, -2 lines 0 comments Download
A + test/mjsunit/es6/typedarray-findindex.js View 1 1 chunk +0 lines, -2 lines 0 comments Download
A + test/mjsunit/es6/typedarray-foreach.js View 1 1 chunk +1 line, -1 line 0 comments Download
A + test/mjsunit/es6/typedarray-from.js View 1 1 chunk +0 lines, -2 lines 0 comments Download
A + test/mjsunit/es6/typedarray-indexing.js View 1 1 chunk +0 lines, -2 lines 0 comments Download
A + test/mjsunit/es6/typedarray-iteration.js View 1 1 chunk +0 lines, -2 lines 0 comments Download
A + test/mjsunit/es6/typedarray-of.js View 1 1 chunk +0 lines, -2 lines 0 comments Download
A + test/mjsunit/es6/typedarray-proto.js View 1 1 chunk +0 lines, -2 lines 0 comments Download
A + test/mjsunit/es6/typedarray-reduce.js View 1 1 chunk +0 lines, -2 lines 0 comments Download
A + test/mjsunit/es6/typedarray-reverse.js View 1 1 chunk +0 lines, -2 lines 0 comments Download
A + test/mjsunit/es6/typedarray-slice.js View 1 1 chunk +0 lines, -2 lines 0 comments Download
A + test/mjsunit/es6/typedarray-sort.js View 1 1 chunk +0 lines, -2 lines 0 comments Download
A + test/mjsunit/es6/typedarray-tostring.js View 1 1 chunk +0 lines, -2 lines 0 comments Download
D test/mjsunit/harmony/typedarray-copywithin.js View 1 1 chunk +0 lines, -175 lines 0 comments Download
D test/mjsunit/harmony/typedarray-fill.js View 1 1 chunk +0 lines, -47 lines 0 comments Download
D test/mjsunit/harmony/typedarray-find.js View 1 1 chunk +0 lines, -189 lines 0 comments Download
D test/mjsunit/harmony/typedarray-findindex.js View 1 1 chunk +0 lines, -189 lines 0 comments Download
D test/mjsunit/harmony/typedarray-from.js View 1 1 chunk +0 lines, -123 lines 0 comments Download
D test/mjsunit/harmony/typedarray-indexing.js View 1 1 chunk +0 lines, -73 lines 0 comments Download
D test/mjsunit/harmony/typedarray-iteration.js View 1 1 chunk +0 lines, -196 lines 0 comments Download
D test/mjsunit/harmony/typedarray-proto.js View 1 1 chunk +0 lines, -44 lines 0 comments Download
D test/mjsunit/harmony/typedarray-reduce.js View 1 1 chunk +0 lines, -252 lines 0 comments Download
D test/mjsunit/harmony/typedarray-reverse.js View 1 1 chunk +0 lines, -56 lines 0 comments Download
D test/mjsunit/harmony/typedarray-slice.js View 1 1 chunk +0 lines, -73 lines 0 comments Download
D test/mjsunit/harmony/typedarray-sort.js View 1 1 chunk +0 lines, -57 lines 0 comments Download
D test/mjsunit/harmony/typedarray-tostring.js View 1 1 chunk +0 lines, -88 lines 0 comments Download
D test/mjsunit/harmony/typedarrays.js View 1 1 chunk +0 lines, -758 lines 0 comments Download
D test/mjsunit/harmony/typedarrays-every.js View 1 1 chunk +0 lines, -152 lines 0 comments Download
D test/mjsunit/harmony/typedarrays-foreach.js View 1 1 chunk +0 lines, -155 lines 0 comments Download
D test/mjsunit/harmony/typedarrays-of.js View 1 1 chunk +0 lines, -135 lines 0 comments Download
M tools/gyp/v8.gyp View 1 2 chunks +2 lines, -2 lines 0 comments Download

Messages

Total messages: 10 (2 generated)
Dan Ehrenberg
Is there a better approach? Should this patch remove the --harmony-arrays flag or leave it ...
5 years, 5 months ago (2015-06-29 05:32:58 UTC) #1
adamk
I've confirmed locally that this fixes the performance test. So the only question is whether ...
5 years, 5 months ago (2015-06-29 21:30:26 UTC) #3
rossberg
On 2015/06/29 21:30:26, adamk wrote: > I've confirmed locally that this fixes the performance test. ...
5 years, 5 months ago (2015-06-30 12:11:52 UTC) #4
Dan Ehrenberg
On 2015/06/30 12:11:52, rossberg wrote: > On 2015/06/29 21:30:26, adamk wrote: > > I've confirmed ...
5 years, 5 months ago (2015-07-01 22:06:35 UTC) #5
adamk
lgtm
5 years, 5 months ago (2015-07-01 22:10:04 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1215863003/20001
5 years, 5 months ago (2015-07-01 22:10:13 UTC) #8
commit-bot: I haz the power
Committed patchset #2 (id:20001)
5 years, 5 months ago (2015-07-01 23:10:20 UTC) #9
commit-bot: I haz the power
5 years, 5 months ago (2015-07-01 23:10:30 UTC) #10
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/a1dcac3df7a23a311dea12b8478e3c7517877496
Cr-Commit-Position: refs/heads/master@{#29430}

Powered by Google App Engine
This is Rietveld 408576698