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

Issue 2521263003: [js-perf-test] Add RegExp microbenchmarks (Closed)

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

Description

[js-perf-test] Add RegExp microbenchmarks This adds microbenchmarks for: * the RegExp constructor, * flag accessors, * and RegExp functions: exec, @@match, @@search, test, @@split, @@replace. Each benchmark is further split to measure fast and slow paths. BUG=v8:5339 Committed: https://crrev.com/b034b715687fa869e1eade1aa6e1343b6ba4e0ee Cr-Commit-Position: refs/heads/master@{#41285}

Patch Set 1 #

Patch Set 2 : Update test* #

Total comments: 4

Patch Set 3 : Move to own test suite #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+659 lines, -0 lines) Patch
A test/js-perf-test/RegExp.json View 1 2 1 chunk +61 lines, -0 lines 2 comments Download
A test/js-perf-test/RegExp/RegExpTests.json View 1 chunk +61 lines, -0 lines 0 comments Download
A test/js-perf-test/RegExp/base.js View 1 chunk +43 lines, -0 lines 0 comments Download
A test/js-perf-test/RegExp/base_ctor.js View 1 chunk +54 lines, -0 lines 0 comments Download
A test/js-perf-test/RegExp/base_exec.js View 1 chunk +57 lines, -0 lines 0 comments Download
A test/js-perf-test/RegExp/base_flags.js View 1 chunk +21 lines, -0 lines 0 comments Download
A test/js-perf-test/RegExp/base_match.js View 1 chunk +32 lines, -0 lines 0 comments Download
A test/js-perf-test/RegExp/base_replace.js View 1 chunk +54 lines, -0 lines 0 comments Download
A test/js-perf-test/RegExp/base_search.js View 1 chunk +33 lines, -0 lines 0 comments Download
A test/js-perf-test/RegExp/base_split.js View 1 chunk +56 lines, -0 lines 0 comments Download
A test/js-perf-test/RegExp/base_test.js View 1 chunk +26 lines, -0 lines 0 comments Download
A test/js-perf-test/RegExp/ctor.js View 1 chunk +8 lines, -0 lines 0 comments Download
A test/js-perf-test/RegExp/exec.js View 1 chunk +8 lines, -0 lines 0 comments Download
A test/js-perf-test/RegExp/flags.js View 1 chunk +8 lines, -0 lines 0 comments Download
A test/js-perf-test/RegExp/match.js View 1 chunk +8 lines, -0 lines 0 comments Download
A test/js-perf-test/RegExp/replace.js View 1 chunk +8 lines, -0 lines 0 comments Download
A test/js-perf-test/RegExp/run.js View 1 chunk +41 lines, -0 lines 0 comments Download
A test/js-perf-test/RegExp/search.js View 1 chunk +8 lines, -0 lines 0 comments Download
A test/js-perf-test/RegExp/slow_exec.js View 1 chunk +8 lines, -0 lines 0 comments Download
A test/js-perf-test/RegExp/slow_flags.js View 1 chunk +8 lines, -0 lines 0 comments Download
A test/js-perf-test/RegExp/slow_match.js View 1 chunk +8 lines, -0 lines 0 comments Download
A test/js-perf-test/RegExp/slow_replace.js View 1 chunk +8 lines, -0 lines 0 comments Download
A test/js-perf-test/RegExp/slow_search.js View 1 chunk +8 lines, -0 lines 0 comments Download
A test/js-perf-test/RegExp/slow_split.js View 1 chunk +8 lines, -0 lines 0 comments Download
A test/js-perf-test/RegExp/slow_test.js View 1 1 chunk +8 lines, -0 lines 0 comments Download
A test/js-perf-test/RegExp/split.js View 1 chunk +8 lines, -0 lines 0 comments Download
A test/js-perf-test/RegExp/test.js View 1 1 chunk +8 lines, -0 lines 0 comments Download

Messages

Total messages: 25 (13 generated)
jgruber
Some initial results comparing pre-migration to current ToT: Name Delta (in %, positive means we've ...
4 years ago (2016-11-23 13:29:20 UTC) #4
Michael Achenbach
What's the expected total runtime? If it's too slow we might need to add this ...
4 years ago (2016-11-24 08:25:47 UTC) #11
jgruber
On 2016/11/24 08:25:47, machenbach (slow) wrote: > What's the expected total runtime? If it's too ...
4 years ago (2016-11-24 12:23:01 UTC) #12
jgruber
+yang for benchmark contents. https://codereview.chromium.org/2521263003/diff/20001/test/js-perf-test/RegExp/RegExpTests.json File test/js-perf-test/RegExp/RegExpTests.json (right): https://codereview.chromium.org/2521263003/diff/20001/test/js-perf-test/RegExp/RegExpTests.json#newcode3 test/js-perf-test/RegExp/RegExpTests.json:3: "run_count": 5, On 2016/11/24 08:25:47, ...
4 years ago (2016-11-24 12:26:20 UTC) #14
jgruber
Moved to separate 'RegExp' test suite as discussed offline. machenbach, PTAL.
4 years ago (2016-11-24 15:04:21 UTC) #15
Yang
On 2016/11/24 15:04:21, jgruber wrote: > Moved to separate 'RegExp' test suite as discussed offline. ...
4 years ago (2016-11-25 08:53:16 UTC) #16
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/2521263003/40001
4 years ago (2016-11-25 08:56:30 UTC) #18
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years ago (2016-11-25 09:25:15 UTC) #20
commit-bot: I haz the power
Patchset 3 (id:??) landed as https://crrev.com/b034b715687fa869e1eade1aa6e1343b6ba4e0ee Cr-Commit-Position: refs/heads/master@{#41285}
4 years ago (2016-11-25 09:25:30 UTC) #22
Michael Achenbach
lgtm
4 years ago (2016-11-28 08:33:37 UTC) #23
Michael Achenbach
https://codereview.chromium.org/2521263003/diff/40001/test/js-perf-test/RegExp.json File test/js-perf-test/RegExp.json (right): https://codereview.chromium.org/2521263003/diff/40001/test/js-perf-test/RegExp.json#newcode39 test/js-perf-test/RegExp.json:39: "slow_test.js", incorrect json. remove trailing , also below and ...
4 years ago (2016-11-28 11:02:08 UTC) #24
jgruber
4 years ago (2016-11-28 12:31:42 UTC) #25
Message was sent while issue was closed.
https://codereview.chromium.org/2521263003/diff/40001/test/js-perf-test/RegEx...
File test/js-perf-test/RegExp.json (right):

https://codereview.chromium.org/2521263003/diff/40001/test/js-perf-test/RegEx...
test/js-perf-test/RegExp.json:39: "slow_test.js",
On 2016/11/28 11:02:08, Michael Achenbach wrote:
> incorrect json. remove trailing , also below and in the end

https://codereview.chromium.org/2532013003

Powered by Google App Engine
This is Rietveld 408576698