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

Issue 2401643002: [regexp] Port split (Closed)

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

Description

[regexp] Port split This CL ports RegExp.prototype[@@split] to C++. Performance regressions are expected due to: * Slow RegExpImpl::Exec implementation instead of RegExpExec stub. We should be able to improve this by straight-lining RegExpImpl::Exec. * Slow Factory::NewSubString instead of SubStringStub. * Slow elements access to lastMatchInfo. These points will be addressed in a follow-up CL. BUG=v8:5339 Committed: https://crrev.com/05a55992340593e406fe79df1f26a4a503f06c87 Cr-Commit-Position: refs/heads/master@{#40161}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Address comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+388 lines, -154 lines) Patch
M src/bootstrapper.cc View 1 1 chunk +7 lines, -0 lines 0 comments Download
M src/builtins/builtins.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M src/builtins/builtins-regexp.cc View 1 1 chunk +380 lines, -0 lines 0 comments Download
M src/js/regexp.js View 2 chunks +0 lines, -154 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 21 (14 generated)
jgruber
This, unfortunately, is where we start hurting octane/regexp. Before: Mean: 4850.2 +- 382.451 After : ...
4 years, 2 months ago (2016-10-06 14:31:42 UTC) #4
jgruber
On 2016/10/06 14:31:42, jgruber wrote: > This, unfortunately, is where we start hurting octane/regexp. > ...
4 years, 2 months ago (2016-10-06 14:46:56 UTC) #5
Yang
LGTM. Using a simple FixedArray for LastMatchInfo is definitely a good idea. https://codereview.chromium.org/2401643002/diff/1/src/builtins/builtins-regexp.cc File src/builtins/builtins-regexp.cc ...
4 years, 2 months ago (2016-10-07 13:37:23 UTC) #8
jgruber
https://codereview.chromium.org/2401643002/diff/1/src/builtins/builtins-regexp.cc File src/builtins/builtins-regexp.cc (right): https://codereview.chromium.org/2401643002/diff/1/src/builtins/builtins-regexp.cc#newcode1389 src/builtins/builtins-regexp.cc:1389: out: On 2016/10/07 13:37:23, Yang wrote: > Not a ...
4 years, 2 months ago (2016-10-10 13:29:13 UTC) #11
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/2401643002/20001
4 years, 2 months ago (2016-10-11 10:35:24 UTC) #17
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 2 months ago (2016-10-11 10:38:06 UTC) #19
commit-bot: I haz the power
4 years, 2 months ago (2016-10-11 10:38:25 UTC) #21
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/05a55992340593e406fe79df1f26a4a503f06c87
Cr-Commit-Position: refs/heads/master@{#40161}

Powered by Google App Engine
This is Rietveld 408576698