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

Issue 544083002: Avoid allocating temporary ranges in connection with text and character iterators. (Closed)

Created:
6 years, 3 months ago by Mads Ager (chromium)
Modified:
6 years, 3 months ago
Reviewers:
yosin_UTC9
CC:
blink-reviews, sof, eae+blinkwatch, blink-reviews-dom_chromium.org, dglazkov+blink, groby+blinkspell_chromium.org, rwlbuis, yoichio
Project:
blink
Visibility:
Public.

Description

Avoid allocating temporary ranges in connection with text and character iterators. 30% performance improvement on DOM/textarea-edit on the oilpan build. 2% performance improvement on DOM/textarea-edit on the non-oilpan build. R=yosin@chromium.org BUG=388681 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=181551

Patch Set 1 #

Total comments: 4

Patch Set 2 : Address review comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+169 lines, -51 lines) Patch
M Source/core/dom/DocumentMarkerController.cpp View 1 chunk +3 lines, -4 lines 0 comments Download
M Source/core/editing/PlainTextRange.cpp View 1 1 chunk +2 lines, -5 lines 0 comments Download
M Source/core/editing/SpellChecker.cpp View 2 chunks +2 lines, -2 lines 0 comments Download
M Source/core/editing/SurroundingText.cpp View 1 chunk +2 lines, -4 lines 0 comments Download
M Source/core/editing/TextIterator.h View 6 chunks +19 lines, -2 lines 0 comments Download
M Source/core/editing/TextIterator.cpp View 1 12 chunks +133 lines, -25 lines 0 comments Download
M Source/core/editing/VisibleSelection.cpp View 1 1 chunk +1 line, -1 line 0 comments Download
M Source/core/editing/VisibleUnits.cpp View 3 chunks +7 lines, -8 lines 0 comments Download

Messages

Total messages: 6 (1 generated)
Mads Ager (chromium)
6 years, 3 months ago (2014-09-05 11:20:41 UTC) #1
yosin_UTC9
LGTM This patch also makes call sites of |TextIterator| simpler. I love this. (^_^)b yoichio@, ...
6 years, 3 months ago (2014-09-08 01:55:19 UTC) #2
Mads Ager (chromium)
Thanks! The remaining temporary range in PlainTextRange is a little more complicated and I would ...
6 years, 3 months ago (2014-09-08 08:50:46 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ager@chromium.org/544083002/20001
6 years, 3 months ago (2014-09-08 08:51:12 UTC) #5
commit-bot: I haz the power
6 years, 3 months ago (2014-09-08 10:20:52 UTC) #6
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as 181551

Powered by Google App Engine
This is Rietveld 408576698