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

Issue 1857083002: Segment strings on dot and comma in addition to space and tab (Closed)

Created:
4 years, 8 months ago by eae
Modified:
4 years, 8 months ago
Reviewers:
lushnikov, PhistucK, behdad
CC:
blink-reviews, blink-reviews-platform-graphics_chromium.org, Rik, chromium-reviews, danakj+watch_chromium.org, dshwang, drott+blinkwatch_chromium.org, krit, f(malita), jbroman, Justin Novosad, kinuko+watch, pdr+graphicswatchlist_chromium.org, rwlbuis, Stephen Chennney
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Segment strings on dot and comma in addition to space and tab Add dot and comma do the list of word separators in an effort to prevent hitting the long-word performance cliff when shaping JSON and JS source. This is a speculative change based on reported observations as we've yet been able to reproduce this problem. We do know that performance suffers somewhat for very long words though, eminently for fonts with ligatures. R=lushnikov@chromium.org BUG=593679 Committed: https://crrev.com/63f4a420e42667f2167b7fcf4a9ac8e10f66e792 Cr-Commit-Position: refs/heads/master@{#386022}

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Patch Set 4 : #

Total comments: 2

Patch Set 5 : Rebase w/HEAD #

Patch Set 6 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1206 lines, -69 lines) Patch
M third_party/WebKit/LayoutTests/TestExpectations View 1 2 3 4 5 9 chunks +1189 lines, -66 lines 0 comments Download
M third_party/WebKit/Source/platform/fonts/shaping/CachingWordShapeIterator.h View 1 2 3 4 1 chunk +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/platform/fonts/shaping/CachingWordShaperTest.cpp View 1 2 3 4 2 chunks +15 lines, -2 lines 0 comments Download

Messages

Total messages: 29 (15 generated)
eae
4 years, 8 months ago (2016-04-05 21:13:24 UTC) #5
lushnikov
Thanks, hope this will fix the issue! lgtm https://codereview.chromium.org/1857083002/diff/60001/third_party/WebKit/Source/platform/fonts/shaping/CachingWordShapeIterator.h File third_party/WebKit/Source/platform/fonts/shaping/CachingWordShapeIterator.h (right): https://codereview.chromium.org/1857083002/diff/60001/third_party/WebKit/Source/platform/fonts/shaping/CachingWordShapeIterator.h#newcode108 third_party/WebKit/Source/platform/fonts/shaping/CachingWordShapeIterator.h:108: return ...
4 years, 8 months ago (2016-04-06 04:22:42 UTC) #6
lushnikov
https://codereview.chromium.org/1857083002/diff/60001/third_party/WebKit/Source/platform/fonts/shaping/CachingWordShapeIterator.h File third_party/WebKit/Source/platform/fonts/shaping/CachingWordShapeIterator.h (right): https://codereview.chromium.org/1857083002/diff/60001/third_party/WebKit/Source/platform/fonts/shaping/CachingWordShapeIterator.h#newcode108 third_party/WebKit/Source/platform/fonts/shaping/CachingWordShapeIterator.h:108: return ch == spaceCharacter || ch == tabulationCharacter Please ...
4 years, 8 months ago (2016-04-06 05:07:55 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1857083002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1857083002/60001
4 years, 8 months ago (2016-04-07 08:06:18 UTC) #9
commit-bot: I haz the power
Try jobs failed on following builders: ios_dbg_simulator_gn on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios_dbg_simulator_gn/builds/15435) ios_rel_device_ninja on tryserver.chromium.mac (JOB_FAILED, ...
4 years, 8 months ago (2016-04-07 08:07:53 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1857083002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1857083002/80001
4 years, 8 months ago (2016-04-07 15:11:38 UTC) #14
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_rel_ng on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_ng/builds/207374)
4 years, 8 months ago (2016-04-07 16:46:25 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1857083002/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1857083002/100001
4 years, 8 months ago (2016-04-08 07:59:26 UTC) #19
commit-bot: I haz the power
Committed patchset #6 (id:100001)
4 years, 8 months ago (2016-04-08 09:03:04 UTC) #21
commit-bot: I haz the power
Patchset 6 (id:??) landed as https://crrev.com/63f4a420e42667f2167b7fcf4a9ac8e10f66e792 Cr-Commit-Position: refs/heads/master@{#386022}
4 years, 8 months ago (2016-04-08 09:04:47 UTC) #23
behdad
Doesn't the can-use-word-cache logic also need update?
4 years, 8 months ago (2016-04-08 11:41:48 UTC) #25
magjed_chromium
A revert of this CL (patchset #6 id:100001) has been created in https://codereview.chromium.org/1871653003/ by magjed@chromium.org. ...
4 years, 8 months ago (2016-04-08 11:42:41 UTC) #26
PhistucK
Wow... Are you sure this should have the consequence of rebaselining over a thousand tests?...
4 years, 8 months ago (2016-04-08 16:28:14 UTC) #28
kjellander_chromium
4 years, 8 months ago (2016-04-11 09:46:17 UTC) #29
Message was sent while issue was closed.
A revert of this CL (patchset #6 id:100001) has been created in
https://codereview.chromium.org/1879483002/ by kjellander@chromium.org.

The reason for reverting is: Several webkit_tests tests started failing on Mac
with this. See http://crbug.com/602207 for details..

Powered by Google App Engine
This is Rietveld 408576698