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

Issue 2527963002: [regexp] Migrate @@match to TurboFan (Closed)

Created:
4 years ago by jgruber
Modified:
4 years ago
Reviewers:
Igor Sheludko
CC:
v8-reviews_googlegroups.com, Yang
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[regexp] Migrate @@match to TurboFan Microbenchmarks show a 4x improvement on the fast path and 2.5x improvement on the slow path when compared to the CPP builtin implementation. Compared to the old JS implementation, the fast path is 20% faster and the slow path 35% slower. BUG=v8:5339, v8:5562 Committed: https://crrev.com/4e7571a5a9bb8563ae93e0aff48c08bead765b14 Cr-Commit-Position: refs/heads/master@{#41338}

Patch Set 1 #

Patch Set 2 : Initialize initial fixed array elements #

Patch Set 3 : Update call to StoreFixedArrayElement for new signature oO #

Patch Set 4 : Fix match fetching on slow path #

Patch Set 5 : Adapt arguments #

Total comments: 13

Patch Set 6 : Address comments #

Patch Set 7 : Remove unused variable #

Unified diffs Side-by-side diffs Delta from patch set Stats (+419 lines, -62 lines) Patch
M src/bootstrapper.cc View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M src/builtins/builtins.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M src/builtins/builtins-regexp.cc View 1 2 3 4 5 6 4 chunks +417 lines, -60 lines 0 comments Download

Messages

Total messages: 39 (31 generated)
jgruber
4 years ago (2016-11-25 11:20:10 UTC) #20
Igor Sheludko
lgtm with nits: https://codereview.chromium.org/2527963002/diff/80001/src/builtins/builtins-regexp.cc File src/builtins/builtins-regexp.cc (right): https://codereview.chromium.org/2527963002/diff/80001/src/builtins/builtins-regexp.cc#newcode1176 src/builtins/builtins-regexp.cc:1176: CodeStubAssembler::ParameterMode mode = CodeStubAssembler::INTPTR_PARAMETERS; |mode| should ...
4 years ago (2016-11-25 17:31:27 UTC) #23
Igor Sheludko
lgtm with nits:
4 years ago (2016-11-25 17:31:28 UTC) #24
jgruber
Thanks for the review. Addressed all comments, and additionally refactored fixed array handling into a ...
4 years ago (2016-11-28 13:28:22 UTC) #27
Igor Sheludko
lgtm
4 years ago (2016-11-29 08:48:15 UTC) #32
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/2527963002/120001
4 years ago (2016-11-29 08:51:52 UTC) #35
commit-bot: I haz the power
Committed patchset #7 (id:120001)
4 years ago (2016-11-29 09:02:57 UTC) #37
commit-bot: I haz the power
4 years ago (2016-11-29 09:03:30 UTC) #39
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/4e7571a5a9bb8563ae93e0aff48c08bead765b14
Cr-Commit-Position: refs/heads/master@{#41338}

Powered by Google App Engine
This is Rietveld 408576698