RESOLVED DUPLICATE of bug 175778 185976
Improve the performance of determining character boundaries in ComplexTextController
https://bugs.webkit.org/show_bug.cgi?id=185976
Summary Improve the performance of determining character boundaries in ComplexTextCon...
Myles C. Maxfield
Reported 2018-05-25 00:46:18 PDT
Improve the performance of determining character boundaries in ComplexTextController
Attachments
Patch (11.78 KB, patch)
2018-05-25 00:52 PDT, Myles C. Maxfield
no flags
Patch (11.79 KB, patch)
2018-05-25 00:53 PDT, Myles C. Maxfield
no flags
Archive of layout-test-results from ews103 for mac-sierra (2.35 MB, application/zip)
2018-05-25 02:01 PDT, EWS Watchlist
no flags
Archive of layout-test-results from ews106 for mac-sierra-wk2 (2.85 MB, application/zip)
2018-05-25 02:07 PDT, EWS Watchlist
no flags
Archive of layout-test-results from ews117 for mac-sierra (3.11 MB, application/zip)
2018-05-25 02:36 PDT, EWS Watchlist
no flags
WIP (16.47 KB, patch)
2018-05-25 18:09 PDT, Myles C. Maxfield
no flags
Archive of layout-test-results from ews101 for mac-sierra (2.42 MB, application/zip)
2018-05-25 19:20 PDT, EWS Watchlist
no flags
Archive of layout-test-results from ews125 for ios-simulator-wk2 (2.34 MB, application/zip)
2018-05-25 19:58 PDT, EWS Watchlist
no flags
Archive of layout-test-results from ews114 for mac-sierra (3.14 MB, application/zip)
2018-05-25 19:58 PDT, EWS Watchlist
no flags
Archive of layout-test-results from ews104 for mac-sierra-wk2 (2.85 MB, application/zip)
2018-05-25 21:55 PDT, EWS Watchlist
no flags
WIP (12.77 KB, patch)
2018-05-30 16:49 PDT, Myles C. Maxfield
no flags
Archive of layout-test-results from ews100 for mac-sierra (2.42 MB, application/zip)
2018-05-30 18:19 PDT, EWS Watchlist
no flags
Archive of layout-test-results from ews121 for ios-simulator-wk2 (2.77 MB, application/zip)
2018-05-30 18:38 PDT, EWS Watchlist
no flags
Archive of layout-test-results from ews115 for mac-sierra (3.32 MB, application/zip)
2018-05-30 18:47 PDT, EWS Watchlist
no flags
Archive of layout-test-results from ews106 for mac-sierra-wk2 (3.40 MB, application/zip)
2018-05-30 18:48 PDT, EWS Watchlist
no flags
WIP (63.71 KB, patch)
2018-05-31 09:30 PDT, Myles C. Maxfield
no flags
Archive of layout-test-results from ews101 for mac-sierra (2.56 MB, application/zip)
2018-05-31 10:22 PDT, EWS Watchlist
no flags
Archive of layout-test-results from ews104 for mac-sierra-wk2 (3.04 MB, application/zip)
2018-05-31 10:27 PDT, EWS Watchlist
no flags
Archive of layout-test-results from ews115 for mac-sierra (3.08 MB, application/zip)
2018-05-31 11:10 PDT, EWS Watchlist
no flags
Patch (66.39 KB, patch)
2018-05-31 17:39 PDT, Myles C. Maxfield
mitz: review-
Myles C. Maxfield
Comment 1 2018-05-25 00:52:09 PDT
Myles C. Maxfield
Comment 2 2018-05-25 00:53:30 PDT
Myles C. Maxfield
Comment 3 2018-05-25 01:32:32 PDT
16x faster, not 4x faster.
EWS Watchlist
Comment 4 2018-05-25 02:01:00 PDT
Comment on attachment 341259 [details] Patch Attachment 341259 [details] did not pass mac-ews (mac): Output: http://webkit-queues.webkit.org/results/7797104 New failing tests: fast/text/arabic-zwj-and-zwnj.html
EWS Watchlist
Comment 5 2018-05-25 02:01:02 PDT
Created attachment 341261 [details] Archive of layout-test-results from ews103 for mac-sierra The attached test failures were seen while running run-webkit-tests on the mac-ews. Bot: ews103 Port: mac-sierra Platform: Mac OS X 10.12.6
EWS Watchlist
Comment 6 2018-05-25 02:07:52 PDT
Comment on attachment 341259 [details] Patch Attachment 341259 [details] did not pass mac-wk2-ews (mac-wk2): Output: http://webkit-queues.webkit.org/results/7797112 New failing tests: fast/text/arabic-zwj-and-zwnj.html
EWS Watchlist
Comment 7 2018-05-25 02:07:53 PDT
Created attachment 341263 [details] Archive of layout-test-results from ews106 for mac-sierra-wk2 The attached test failures were seen while running run-webkit-tests on the mac-wk2-ews. Bot: ews106 Port: mac-sierra-wk2 Platform: Mac OS X 10.12.6
EWS Watchlist
Comment 8 2018-05-25 02:36:44 PDT
Comment on attachment 341259 [details] Patch Attachment 341259 [details] did not pass mac-debug-ews (mac): Output: http://webkit-queues.webkit.org/results/7797137 New failing tests: fast/text/arabic-zwj-and-zwnj.html
EWS Watchlist
Comment 9 2018-05-25 02:36:45 PDT
Created attachment 341265 [details] Archive of layout-test-results from ews117 for mac-sierra The attached test failures were seen while running run-webkit-tests on the mac-debug-ews. Bot: ews117 Port: mac-sierra Platform: Mac OS X 10.12.6
Myles C. Maxfield
Comment 10 2018-05-25 13:49:51 PDT
The test is failing because createAndFillGlyphPage() maps zeroWidthNonJoiner (which GeezaPro supports) to zeroWidthSpace (which GeezaPro doesn't support)
Myles C. Maxfield
Comment 11 2018-05-25 18:09:00 PDT
EWS Watchlist
Comment 12 2018-05-25 18:10:24 PDT
Attachment 341370 [details] did not pass style-queue: ERROR: Source/WebCore/ChangeLog:8: You should remove the 'No new tests' and either add and list tests, or explain why no new tests were possible. [changelog/nonewtests] [5] Total errors found: 1 in 9 files If any of these errors are false positives, please file a bug against check-webkit-style.
EWS Watchlist
Comment 13 2018-05-25 19:20:13 PDT
Comment on attachment 341370 [details] WIP Attachment 341370 [details] did not pass mac-ews (mac): Output: http://webkit-queues.webkit.org/results/7807537 New failing tests: fast/text/arabic-zwj-and-zwnj.html fast/text/format-control.html
EWS Watchlist
Comment 14 2018-05-25 19:20:15 PDT
Created attachment 341375 [details] Archive of layout-test-results from ews101 for mac-sierra The attached test failures were seen while running run-webkit-tests on the mac-ews. Bot: ews101 Port: mac-sierra Platform: Mac OS X 10.12.6
EWS Watchlist
Comment 15 2018-05-25 19:58:34 PDT
Comment on attachment 341370 [details] WIP Attachment 341370 [details] did not pass ios-sim-ews (ios-simulator-wk2): Output: http://webkit-queues.webkit.org/results/7807676 New failing tests: imported/blink/fast/text/international/zerowidthjoiner-should-not-render.html
EWS Watchlist
Comment 16 2018-05-25 19:58:36 PDT
Created attachment 341379 [details] Archive of layout-test-results from ews125 for ios-simulator-wk2 The attached test failures were seen while running run-webkit-tests on the ios-sim-ews. Bot: ews125 Port: ios-simulator-wk2 Platform: Mac OS X 10.13.4
EWS Watchlist
Comment 17 2018-05-25 19:58:52 PDT
Comment on attachment 341370 [details] WIP Attachment 341370 [details] did not pass mac-debug-ews (mac): Output: http://webkit-queues.webkit.org/results/7807721 New failing tests: fast/text/arabic-zwj-and-zwnj.html fast/text/format-control.html
EWS Watchlist
Comment 18 2018-05-25 19:58:53 PDT
Created attachment 341380 [details] Archive of layout-test-results from ews114 for mac-sierra The attached test failures were seen while running run-webkit-tests on the mac-debug-ews. Bot: ews114 Port: mac-sierra Platform: Mac OS X 10.12.6
EWS Watchlist
Comment 19 2018-05-25 21:55:34 PDT
Comment on attachment 341370 [details] WIP Attachment 341370 [details] did not pass mac-wk2-ews (mac-wk2): Output: http://webkit-queues.webkit.org/results/7809084 New failing tests: fast/text/arabic-zwj-and-zwnj.html fast/text/format-control.html
EWS Watchlist
Comment 20 2018-05-25 21:55:36 PDT
Created attachment 341387 [details] Archive of layout-test-results from ews104 for mac-sierra-wk2 The attached test failures were seen while running run-webkit-tests on the mac-wk2-ews. Bot: ews104 Port: mac-sierra-wk2 Platform: Mac OS X 10.12.6
Myles C. Maxfield
Comment 21 2018-05-30 16:49:10 PDT
EWS Watchlist
Comment 22 2018-05-30 16:51:27 PDT
Attachment 341622 [details] did not pass style-queue: ERROR: Source/WebCore/platform/graphics/Font.cpp:204: Should have a space between // and comment [whitespace/comments] [4] ERROR: Source/WebCore/platform/graphics/Font.cpp:205: Should have a space between // and comment [whitespace/comments] [4] Total errors found: 2 in 11 files If any of these errors are false positives, please file a bug against check-webkit-style.
EWS Watchlist
Comment 23 2018-05-30 18:19:18 PDT
Comment on attachment 341622 [details] WIP Attachment 341622 [details] did not pass mac-ews (mac): Output: http://webkit-queues.webkit.org/results/7881306 New failing tests: fast/text/arabic-zwj-and-zwnj.html fast/text/format-control.html
EWS Watchlist
Comment 24 2018-05-30 18:19:20 PDT
Created attachment 341630 [details] Archive of layout-test-results from ews100 for mac-sierra The attached test failures were seen while running run-webkit-tests on the mac-ews. Bot: ews100 Port: mac-sierra Platform: Mac OS X 10.12.6
EWS Watchlist
Comment 25 2018-05-30 18:38:56 PDT
Comment on attachment 341622 [details] WIP Attachment 341622 [details] did not pass ios-sim-ews (ios-simulator-wk2): Output: http://webkit-queues.webkit.org/results/7881004 New failing tests: imported/blink/fast/text/international/zerowidthjoiner-should-not-render.html
EWS Watchlist
Comment 26 2018-05-30 18:38:57 PDT
Created attachment 341632 [details] Archive of layout-test-results from ews121 for ios-simulator-wk2 The attached test failures were seen while running run-webkit-tests on the ios-sim-ews. Bot: ews121 Port: ios-simulator-wk2 Platform: Mac OS X 10.13.4
EWS Watchlist
Comment 27 2018-05-30 18:47:41 PDT
Comment on attachment 341622 [details] WIP Attachment 341622 [details] did not pass mac-debug-ews (mac): Output: http://webkit-queues.webkit.org/results/7881340 New failing tests: fast/text/arabic-zwj-and-zwnj.html fast/text/format-control.html
EWS Watchlist
Comment 28 2018-05-30 18:47:42 PDT
Created attachment 341634 [details] Archive of layout-test-results from ews115 for mac-sierra The attached test failures were seen while running run-webkit-tests on the mac-debug-ews. Bot: ews115 Port: mac-sierra Platform: Mac OS X 10.12.6
EWS Watchlist
Comment 29 2018-05-30 18:48:57 PDT
Comment on attachment 341622 [details] WIP Attachment 341622 [details] did not pass mac-wk2-ews (mac-wk2): Output: http://webkit-queues.webkit.org/results/7881757 New failing tests: fast/text/arabic-zwj-and-zwnj.html fast/text/format-control.html
EWS Watchlist
Comment 30 2018-05-30 18:48:59 PDT
Created attachment 341635 [details] Archive of layout-test-results from ews106 for mac-sierra-wk2 The attached test failures were seen while running run-webkit-tests on the mac-wk2-ews. Bot: ews106 Port: mac-sierra-wk2 Platform: Mac OS X 10.12.6
Myles C. Maxfield
Comment 31 2018-05-31 09:30:47 PDT
EWS Watchlist
Comment 32 2018-05-31 09:32:35 PDT
Attachment 341667 [details] did not pass style-queue: ERROR: Source/WebCore/ChangeLog:8: You should remove the 'No new tests' and either add and list tests, or explain why no new tests were possible. [changelog/nonewtests] [5] Total errors found: 1 in 14 files If any of these errors are false positives, please file a bug against check-webkit-style.
EWS Watchlist
Comment 33 2018-05-31 10:22:28 PDT
Comment on attachment 341667 [details] WIP Attachment 341667 [details] did not pass mac-ews (mac): Output: http://webkit-queues.webkit.org/results/7901053 New failing tests: fast/text/soft-hyphen-min-preferred-width.html
EWS Watchlist
Comment 34 2018-05-31 10:22:29 PDT
Created attachment 341670 [details] Archive of layout-test-results from ews101 for mac-sierra The attached test failures were seen while running run-webkit-tests on the mac-ews. Bot: ews101 Port: mac-sierra Platform: Mac OS X 10.12.6
EWS Watchlist
Comment 35 2018-05-31 10:27:33 PDT
Comment on attachment 341667 [details] WIP Attachment 341667 [details] did not pass mac-wk2-ews (mac-wk2): Output: http://webkit-queues.webkit.org/results/7901054 New failing tests: fast/text/soft-hyphen-min-preferred-width.html
EWS Watchlist
Comment 36 2018-05-31 10:27:34 PDT
Created attachment 341671 [details] Archive of layout-test-results from ews104 for mac-sierra-wk2 The attached test failures were seen while running run-webkit-tests on the mac-wk2-ews. Bot: ews104 Port: mac-sierra-wk2 Platform: Mac OS X 10.12.6
EWS Watchlist
Comment 37 2018-05-31 11:10:45 PDT
Comment on attachment 341667 [details] WIP Attachment 341667 [details] did not pass mac-debug-ews (mac): Output: http://webkit-queues.webkit.org/results/7901547 New failing tests: fast/text/soft-hyphen-min-preferred-width.html
EWS Watchlist
Comment 38 2018-05-31 11:10:47 PDT
Created attachment 341675 [details] Archive of layout-test-results from ews115 for mac-sierra The attached test failures were seen while running run-webkit-tests on the mac-debug-ews. Bot: ews115 Port: mac-sierra Platform: Mac OS X 10.12.6
Myles C. Maxfield
Comment 39 2018-05-31 17:39:13 PDT
Myles C. Maxfield
Comment 40 2018-05-31 17:39:36 PDT
mitz
Comment 41 2018-05-31 19:54:14 PDT
Comment on attachment 341718 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=341718&action=review > LayoutTests/ChangeLog:14 > + * platform/mac/fast/text/format-control-expected.png: > + * platform/mac/fast/text/format-control-expected.txt: Rebaseline. This test is regressing! For example, the presence of a zero-width non-joiner is no longer preventing the fi ligature from forming on the second line.
mitz
Comment 42 2018-05-31 19:55:22 PDT
Comment on attachment 341718 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=341718&action=review > Source/WebCore/platform/graphics/Font.cpp:-203 > - overwriteCodePoint(leftToRightMark, zeroWidthSpace); > - overwriteCodePoint(rightToLeftMark, zeroWidthSpace); > - overwriteCodePoint(leftToRightEmbed, zeroWidthSpace); > - overwriteCodePoint(rightToLeftEmbed, zeroWidthSpace); > - overwriteCodePoint(leftToRightOverride, zeroWidthSpace); > - overwriteCodePoint(rightToLeftOverride, zeroWidthSpace); > - overwriteCodePoint(leftToRightIsolate, zeroWidthSpace); > - overwriteCodePoint(rightToLeftIsolate, zeroWidthSpace); I think this may regress behavior with fonts that have glyphs for these control characters (I think Arial Unicode from Microsoft is an example of that).
Myles C. Maxfield
Comment 43 2023-09-14 06:27:04 PDT
*** This bug has been marked as a duplicate of bug 175778 ***
Note You need to log in before you can comment on or make changes to this bug.