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

Issue 2481853002: [turbofan] Use a vector instead of a set in move optimizer. (Closed)

Created:
4 years, 1 month ago by Jarin
Modified:
4 years, 1 month ago
CC:
v8-reviews_googlegroups.com
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[turbofan] Use a vector instead of a set in move optimizer. The set of operands are really small, so STL set performs really poorly. In Octane/TypeScript, I see move optimization going from >300ms to <100ms. Committed: https://crrev.com/6a08157ef1b6585417dfc056c9b11acc322089f0 Cr-Commit-Position: refs/heads/master@{#40835}

Patch Set 1 #

Total comments: 4

Patch Set 2 : Comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+34 lines, -16 lines) Patch
M src/compiler/move-optimizer.h View 1 1 chunk +5 lines, -0 lines 0 comments Download
M src/compiler/move-optimizer.cc View 7 chunks +29 lines, -16 lines 0 comments Download

Messages

Total messages: 23 (13 generated)
Jarin
Could you take a look, please?
4 years, 1 month ago (2016-11-07 16:00:35 UTC) #4
Mircea Trofin
Do we know what underperforms in the STL set - is it insertion? Is it ...
4 years, 1 month ago (2016-11-07 16:20:09 UTC) #5
Benedikt Meurer
Neat, LGTM from my side.
4 years, 1 month ago (2016-11-07 18:34:09 UTC) #8
Jarin
As for why it is slow - yes, it is the insertion. For small sets, ...
4 years, 1 month ago (2016-11-08 13:43:03 UTC) #12
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/2481853002/20001
4 years, 1 month ago (2016-11-08 13:45:40 UTC) #16
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 1 month ago (2016-11-08 14:00:05 UTC) #18
Mircea Trofin
On 2016/11/08 14:00:05, commit-bot: I haz the power wrote: > Committed patchset #2 (id:20001) Is ...
4 years, 1 month ago (2016-11-08 15:28:33 UTC) #19
Jarin
On 2016/11/08 15:28:33, Mircea Trofin wrote: > On 2016/11/08 14:00:05, commit-bot: I haz the power ...
4 years, 1 month ago (2016-11-08 15:31:28 UTC) #20
Mircea Trofin
On 2016/11/08 15:31:28, Jarin wrote: > On 2016/11/08 15:28:33, Mircea Trofin wrote: > > On ...
4 years, 1 month ago (2016-11-08 15:33:56 UTC) #21
commit-bot: I haz the power
4 years, 1 month ago (2016-11-17 22:26:13 UTC) #23
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/6a08157ef1b6585417dfc056c9b11acc322089f0
Cr-Commit-Position: refs/heads/master@{#40835}

Powered by Google App Engine
This is Rietveld 408576698