Bug 190104 - Optimize RenderStyle::diff() and clean up the code
Summary: Optimize RenderStyle::diff() and clean up the code
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Simon Fraser (smfr)
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2018-09-28 18:15 PDT by Simon Fraser (smfr)
Modified: 2018-10-01 13:41 PDT (History)
7 users (show)

See Also:


Attachments
Patch (27.69 KB, patch)
2018-09-28 18:22 PDT, Simon Fraser (smfr)
no flags Details | Formatted Diff | Diff
Patch (29.91 KB, patch)
2018-09-28 21:12 PDT, Simon Fraser (smfr)
no flags Details | Formatted Diff | Diff
Archive of layout-test-results from ews100 for mac-sierra (2.36 MB, application/zip)
2018-09-28 22:15 PDT, EWS Watchlist
no flags Details
Archive of layout-test-results from ews107 for mac-sierra-wk2 (2.99 MB, application/zip)
2018-09-28 22:26 PDT, EWS Watchlist
no flags Details
Archive of layout-test-results from ews201 for win-future (13.22 MB, application/zip)
2018-09-28 22:50 PDT, EWS Watchlist
no flags Details
Archive of layout-test-results from ews115 for mac-sierra (3.08 MB, application/zip)
2018-09-28 23:08 PDT, EWS Watchlist
no flags Details
Archive of layout-test-results from ews121 for ios-simulator-wk2 (2.64 MB, application/zip)
2018-09-29 02:10 PDT, EWS Watchlist
no flags Details
Patch (30.01 KB, patch)
2018-09-29 08:28 PDT, Simon Fraser (smfr)
mitz: review+
ews-watchlist: commit-queue-
Details | Formatted Diff | Diff
RenderStyle.cpp for ease of review (90.72 KB, text/plain)
2018-09-29 08:31 PDT, Simon Fraser (smfr)
no flags Details
Archive of layout-test-results from ews203 for win-future (13.15 MB, application/zip)
2018-09-29 11:57 PDT, EWS Watchlist
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Simon Fraser (smfr) 2018-09-28 18:15:56 PDT
Optimize RenderStyle::diff() and clean up the code
Comment 1 Simon Fraser (smfr) 2018-09-28 18:22:41 PDT
Created attachment 351154 [details]
Patch
Comment 2 Simon Fraser (smfr) 2018-09-28 21:12:37 PDT
Created attachment 351166 [details]
Patch
Comment 3 zalan 2018-09-28 21:15:49 PDT
>Optimize RenderStyle::diff() and clean up the code
Do you mind splitting it into multiple patches? I find it difficult to review this (unless someone else is willing to r+it as it is)
Comment 4 EWS Watchlist 2018-09-28 22:15:54 PDT Comment hidden (obsolete)
Comment 5 EWS Watchlist 2018-09-28 22:15:56 PDT Comment hidden (obsolete)
Comment 6 EWS Watchlist 2018-09-28 22:26:35 PDT Comment hidden (obsolete)
Comment 7 EWS Watchlist 2018-09-28 22:26:37 PDT Comment hidden (obsolete)
Comment 8 EWS Watchlist 2018-09-28 22:50:37 PDT Comment hidden (obsolete)
Comment 9 EWS Watchlist 2018-09-28 22:50:49 PDT Comment hidden (obsolete)
Comment 10 EWS Watchlist 2018-09-28 23:08:32 PDT Comment hidden (obsolete)
Comment 11 EWS Watchlist 2018-09-28 23:08:34 PDT Comment hidden (obsolete)
Comment 12 EWS Watchlist 2018-09-29 02:10:00 PDT Comment hidden (obsolete)
Comment 13 EWS Watchlist 2018-09-29 02:10:02 PDT Comment hidden (obsolete)
Comment 14 Simon Fraser (smfr) 2018-09-29 08:28:50 PDT
Created attachment 351180 [details]
Patch
Comment 15 Simon Fraser (smfr) 2018-09-29 08:31:06 PDT
Created attachment 351181 [details]
RenderStyle.cpp for ease of review
Comment 16 EWS Watchlist 2018-09-29 11:57:36 PDT
Comment on attachment 351180 [details]
Patch

Attachment 351180 [details] did not pass win-ews (win):
Output: https://webkit-queues.webkit.org/results/9395204

New failing tests:
fast/workers/worker-exception-during-navigation.html
Comment 17 EWS Watchlist 2018-09-29 11:57:51 PDT
Created attachment 351192 [details]
Archive of layout-test-results from ews203 for win-future

The attached test failures were seen while running run-webkit-tests on the win-ews.
Bot: ews203  Port: win-future  Platform: CYGWIN_NT-6.1-2.9.0-0.318-5-3-x86_64-64bit
Comment 18 mitz 2018-09-29 14:16:19 PDT
Comment on attachment 351180 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=351180&action=review

> Source/WebCore/ChangeLog:10
> +        To reduce the changes of future changes regressing this, move code comparing values

the chances
Comment 19 Simon Fraser (smfr) 2018-10-01 13:41:02 PDT
https://trac.webkit.org/changeset/236677/webkit
Comment 20 Radar WebKit Bug Importer 2018-10-01 13:41:42 PDT
<rdar://problem/44919499>