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

Issue 1410473002: Reland: Use simple/fast inline function version of MinMax in JS (Closed)

Created:
5 years, 2 months ago by skomski
Modified:
5 years, 2 months ago
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

Reland: Use simple/fast inline function version of MinMax in JS Use the simple inline function version of {Min, Max} where possible to improve performance Now uses an forced inline js function instead of a python macro to avoid expressions be evaluated twice Follow-up to CR: https://codereview.chromium.org/1331993004 Committed: https://crrev.com/b00371b423f52353a4f31e179cc4be7bd2cde973 Cr-Commit-Position: refs/heads/master@{#31411}

Patch Set 1 #

Patch Set 2 : use inline function #

Patch Set 3 : rebase #

Patch Set 4 : use existing export in runtime #

Total comments: 16

Patch Set 5 : addressed comments #

Patch Set 6 : rebase on master #

Patch Set 7 : after yangs fix possible to use utils.ImportNow in test #

Unified diffs Side-by-side diffs Delta from patch set Stats (+95 lines, -48 lines) Patch
M src/js/array.js View 1 2 3 4 5 3 chunks +3 lines, -3 lines 0 comments Download
M src/js/arraybuffer.js View 1 2 3 4 2 chunks +8 lines, -8 lines 0 comments Download
M src/js/harmony-array.js View 1 2 3 4 5 3 chunks +11 lines, -11 lines 0 comments Download
M src/js/harmony-atomics.js View 1 2 3 4 3 chunks +5 lines, -5 lines 0 comments Download
M src/js/harmony-typedarray.js View 1 2 3 4 4 chunks +9 lines, -9 lines 0 comments Download
M src/js/json.js View 1 2 3 4 2 chunks +5 lines, -5 lines 0 comments Download
M src/js/macros.py View 1 2 3 4 5 1 chunk +0 lines, -2 lines 0 comments Download
M src/js/prologue.js View 1 2 3 4 5 1 chunk +2 lines, -0 lines 0 comments Download
M src/js/runtime.js View 1 2 3 4 5 2 chunks +17 lines, -1 line 0 comments Download
M src/js/typedarray.js View 1 2 3 4 3 chunks +8 lines, -4 lines 0 comments Download
A test/mjsunit/minmax-simple.js View 1 2 3 4 5 6 1 chunk +27 lines, -0 lines 0 comments Download

Messages

Total messages: 13 (2 generated)
skomski
PTAL Reland with inline function instead of macro. Currently the test is not using the ...
5 years, 2 months ago (2015-10-15 12:55:19 UTC) #2
Dan Ehrenberg
On 2015/10/15 at 12:55:19, karl wrote: > PTAL > Reland with inline function instead of ...
5 years, 2 months ago (2015-10-15 12:59:45 UTC) #3
skomski
On 2015/10/15 12:59:45, Dan Ehrenberg wrote: > On 2015/10/15 at 12:55:19, karl wrote: > > ...
5 years, 2 months ago (2015-10-15 13:27:37 UTC) #4
Jakob Kummerow
https://codereview.chromium.org/1410473002/diff/60001/src/js/array.js File src/js/array.js (right): https://codereview.chromium.org/1410473002/diff/60001/src/js/array.js#newcode26 src/js/array.js:26: var MinSimple; nit: please preserve alpha-sorting https://codereview.chromium.org/1410473002/diff/60001/src/js/arraybuffer.js File src/js/arraybuffer.js ...
5 years, 2 months ago (2015-10-15 14:18:48 UTC) #5
skomski
addressed comments by jakob. Still solution needed for test. ToPositiveInteger with the same problem unfortunately ...
5 years, 2 months ago (2015-10-15 15:17:59 UTC) #6
Jakob Kummerow
On 2015/10/15 15:17:59, skomski wrote: > addressed comments by jakob. Still solution needed for test. ...
5 years, 2 months ago (2015-10-15 17:39:24 UTC) #7
skomski
On 2015/10/15 17:39:24, Jakob wrote: > On 2015/10/15 15:17:59, skomski wrote: > > addressed comments ...
5 years, 2 months ago (2015-10-20 12:33:51 UTC) #8
Dan Ehrenberg
lgtm
5 years, 2 months ago (2015-10-20 13:22:33 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1410473002/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1410473002/120001
5 years, 2 months ago (2015-10-20 13:22:46 UTC) #11
commit-bot: I haz the power
Committed patchset #7 (id:120001)
5 years, 2 months ago (2015-10-20 13:43:49 UTC) #12
commit-bot: I haz the power
5 years, 2 months ago (2015-10-20 13:44:07 UTC) #13
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/b00371b423f52353a4f31e179cc4be7bd2cde973
Cr-Commit-Position: refs/heads/master@{#31411}

Powered by Google App Engine
This is Rietveld 408576698