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

Issue 2621483002: Skip geometry mapping when source and destination spaces are equal (Closed)

Created:
3 years, 11 months ago by pdr.
Modified:
3 years, 11 months ago
Reviewers:
chrishtr, Xianzhu, xianzhanzhu
CC:
blink-reviews, blink-reviews-paint_chromium.org, chromium-reviews, dshwang
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Skip geometry mapping when source and destination spaces are equal This patch skips geometry mapping when it would be a no-op which avoids an expensive mapping through the identity matrix. Performance test results: appending-text: 7.5% improvement paint-offset-changes: 8.2% improvement Speeds up prePaint by ~14% on https://www.w3.org/TR/html5/single-page.html: before: Last FrameView::prePaint is ~210ms after: Last FrameView::prePaint is ~180ms BUG=678597 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2 Review-Url: https://codereview.chromium.org/2621483002 Cr-Commit-Position: refs/heads/master@{#442186} Committed: https://chromium.googlesource.com/chromium/src/+/4a496bb8248a82782841ecee92df37d3db00bb29

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+38 lines, -0 lines) Patch
A third_party/WebKit/PerformanceTests/Paint/appending-text.html View 1 chunk +30 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/platform/graphics/paint/GeometryMapper.cpp View 2 chunks +8 lines, -0 lines 0 comments Download

Messages

Total messages: 18 (11 generated)
pdr.
3 years, 11 months ago (2017-01-08 05:24:01 UTC) #6
Xianzhu
This CL isn't in my incoming review list. Found it when searching your another CL. ...
3 years, 11 months ago (2017-01-08 23:54:09 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/2621483002/1
3 years, 11 months ago (2017-01-09 00:00:28 UTC) #11
commit-bot: I haz the power
Committed patchset #1 (id:1) as https://chromium.googlesource.com/chromium/src/+/4a496bb8248a82782841ecee92df37d3db00bb29
3 years, 11 months ago (2017-01-09 00:04:03 UTC) #15
pdr.
On 2017/01/08 at 23:54:09, wangxianzhu wrote: > This CL isn't in my incoming review list. ...
3 years, 11 months ago (2017-01-09 17:29:12 UTC) #16
pdr.
On 2017/01/09 at 17:29:12, pdr. wrote: > On 2017/01/08 at 23:54:09, wangxianzhu wrote: > > ...
3 years, 11 months ago (2017-01-09 17:29:58 UTC) #17
pdr.
3 years, 11 months ago (2017-01-09 23:10:39 UTC) #18
Message was sent while issue was closed.
As expected, this ended up as an 11.8% win on paint-offset-changes with
spinvalidation:
https://chromeperf.appspot.com/report?sid=1582db6af4d16ebc1512dc9fe06ccde60cc...

Powered by Google App Engine
This is Rietveld 408576698