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

Issue 2754933003: [string] Optimize ToDirectStringAssembler for sequential strings (Closed)

Created:
3 years, 9 months ago by jgruber
Modified:
3 years, 9 months ago
CC:
danno, v8-reviews_googlegroups.com
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[string] Optimize ToDirectStringAssembler for sequential strings ToDirectStringAssembler is used in StringCharCodeAt and SubString (which uses StringCharCodeAt internally). SubString is used all over the place (e.g. RegExp result construction), and is critical for benchmark performance. The CL introducing ToDirectStringAssembler caused a couple of regressions which this is intended to fix by adding a fast path for sequential strings. BUG=chromium:702246 Review-Url: https://codereview.chromium.org/2754933003 Cr-Commit-Position: refs/heads/master@{#43897} Committed: https://chromium.googlesource.com/v8/v8/+/338257509d7f5ec8ea0a16ba3eb263265efa06f9

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+3 lines, -2 lines) Patch
M src/code-stub-assembler.cc View 2 chunks +3 lines, -2 lines 0 comments Download

Messages

Total messages: 14 (10 generated)
jgruber
Benched locally and this combination of deferred and a fast jump for sequential strings improves ...
3 years, 9 months ago (2017-03-17 09:45:10 UTC) #6
Camillo Bruni
lgtm
3 years, 9 months ago (2017-03-17 12:14:00 UTC) #9
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/2754933003/1
3 years, 9 months ago (2017-03-17 12:15:34 UTC) #11
commit-bot: I haz the power
3 years, 9 months ago (2017-03-17 12:19:36 UTC) #14
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://chromium.googlesource.com/v8/v8/+/338257509d7f5ec8ea0a16ba3eb263265ef...

Powered by Google App Engine
This is Rietveld 408576698