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

Issue 2394713003: [regexp] Port test, match, and search (Closed)

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

Description

[regexp] Port test, match, and search This CL ports RegExp.prototype.test, RegExp.prototype.match and RegExp.prototype.search to C++. Performance regressions are expected but should be improved in an upcoming CL. BUG=v8:5339 Committed: https://crrev.com/80f3c6ce7702c0cc28388ae4f084c23870a9aa4f Cr-Commit-Position: refs/heads/master@{#40122}

Patch Set 1 #

Patch Set 2 : Rebase #

Total comments: 4

Patch Set 3 : Rebase #

Patch Set 4 : Rebaseline bytecode expectations #

Unified diffs Side-by-side diffs Delta from patch set Stats (+306 lines, -76 lines) Patch
M src/bootstrapper.cc View 1 2 3 chunks +23 lines, -3 lines 0 comments Download
M src/builtins/builtins.h View 1 2 1 chunk +3 lines, -0 lines 0 comments Download
M src/builtins/builtins-regexp.cc View 1 2 3 chunks +261 lines, -2 lines 0 comments Download
M src/contexts.h View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M src/heap-symbols.h View 1 chunk +1 line, -1 line 0 comments Download
M src/js/regexp.js View 4 chunks +0 lines, -68 lines 0 comments Download
M src/objects.h View 1 2 1 chunk +3 lines, -0 lines 0 comments Download
M src/objects.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M src/objects-inl.h View 1 2 1 chunk +12 lines, -0 lines 0 comments Download
M test/cctest/interpreter/bytecode_expectations/CallRuntime.golden View 1 2 3 1 chunk +1 line, -1 line 0 comments Download

Dependent Patchsets:

Messages

Total messages: 28 (20 generated)
jgruber
I'm expecting fairly high performance regressions for these methods since this is a straight-forward C++ ...
4 years, 2 months ago (2016-10-06 14:00:48 UTC) #8
Yang
https://codereview.chromium.org/2394713003/diff/20001/src/builtins/builtins-regexp.cc File src/builtins/builtins-regexp.cc (right): https://codereview.chromium.org/2394713003/diff/20001/src/builtins/builtins-regexp.cc#newcode1008 src/builtins/builtins-regexp.cc:1008: Execution::Call(isolate, exec, regexp, argc, argv.start()), Object); Would we gain ...
4 years, 2 months ago (2016-10-10 09:49:01 UTC) #11
Yang
On 2016/10/10 09:49:01, Yang wrote: > https://codereview.chromium.org/2394713003/diff/20001/src/builtins/builtins-regexp.cc > File src/builtins/builtins-regexp.cc (right): > > https://codereview.chromium.org/2394713003/diff/20001/src/builtins/builtins-regexp.cc#newcode1008 > ...
4 years, 2 months ago (2016-10-10 09:49:21 UTC) #12
jgruber
https://codereview.chromium.org/2394713003/diff/20001/src/builtins/builtins-regexp.cc File src/builtins/builtins-regexp.cc (right): https://codereview.chromium.org/2394713003/diff/20001/src/builtins/builtins-regexp.cc#newcode1008 src/builtins/builtins-regexp.cc:1008: Execution::Call(isolate, exec, regexp, argc, argv.start()), Object); On 2016/10/10 09:49:01, ...
4 years, 2 months ago (2016-10-10 13:01:41 UTC) #13
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/2394713003/60001
4 years, 2 months ago (2016-10-10 13:54:10 UTC) #23
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 2 months ago (2016-10-10 13:56:51 UTC) #25
commit-bot: I haz the power
Patchset 4 (id:??) landed as https://crrev.com/80f3c6ce7702c0cc28388ae4f084c23870a9aa4f Cr-Commit-Position: refs/heads/master@{#40122}
4 years, 2 months ago (2016-10-10 13:57:28 UTC) #27
Michael Achenbach
4 years, 2 months ago (2016-10-11 06:50:31 UTC) #28
Message was sent while issue was closed.
A revert of this CL (patchset #4 id:60001) has been created in
https://codereview.chromium.org/2404223002/ by machenbach@chromium.org.

The reason for reverting is: Seems to have made regexp-property-lu-ui more than
twice as slow in gc stress (and flaky slow):
https://build.chromium.org/p/client.v8/builders/V8%20Linux%20-%20gc%20stress/....

Powered by Google App Engine
This is Rietveld 408576698