Investigate potential skia performance regressions from switch to GN |
|||||
Issue descriptionQuoting brucedawson: """ Looking at the history I see that skia used to be optimize-for-size, then it was changed to optimize-for-speed on (I believe) all platforms, and then this change was lost in the GN transition. I decided to be conservative and only switch to optimize-for-speed on Windows. ... crrev.com/2270693006 crbug.com/632651 """
,
Sep 7 2016
Also no regressions on Mac 10.10 and 10.11 devices. Both the Skia bug and brucedawson's changes talk about "official builds", but I believe they mean release builds, which is why the issue was caught by Telemetry to begin with. I'll upload a CL to the perf try bots and see what they say: https://codereview.chromium.org/2320853002/
,
Sep 7 2016
An Official build is a release build where "is_official_build = true" is set. On Windows (and Linux) this enables WPO/LTO for extra levels of optimization awesomeness above and beyond a regular release build. I believe that the issue shows up in regular release builds as well. However, I could never reproduce the regression outside of the perf tests. The code path in question was normally not hit. I was unable to find out what (presumed) command-line argument was triggering it.
,
Sep 7 2016
The perf waterfall doesn't build official builds, so the regression must be seen in normal release builds. In both your CL fix, and the original CL that turned on the optimization for GYP, there's no mention in the code of official builds, just !is_debug, so it's not clear to me why either CL mentions official builds.
,
Sep 7 2016
Let's just assume that the official-build claim was developer error and never speak of it again.
,
Sep 7 2016
:-)
,
Sep 9 2016
smoothness.top_25_smooth: Pretty huge improvements. 38% on first_gesture_scroll_update_latency https://codereview.chromium.org/2320853002/#ps60001 http://storage.googleapis.com/chromium-telemetry/html-results/results-2016-09-07_20-42-54 smoothness.tough_path_rendering_cases: Neutral across the board: https://codereview.chromium.org/2320853002/#ps40001 thread_times.tough_scrolling_cases: Weird build errors. https://codereview.chromium.org/2320853002/#ps20001 Given that this regression was introduced by GN migration, and we see clear performance improvements on Mac and Windows, I think we should just turn it on for all OSes. I'm going to try to land that.
,
Sep 9 2016
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/be3d81886eb8db29ae0b204becaef10476b7faa5 commit be3d81886eb8db29ae0b204becaef10476b7faa5 Author: erikchen <erikchen@chromium.org> Date: Fri Sep 09 20:11:25 2016 Optimize skia for performance, rather than size on all platforms. This change got lost in the GN migration. BUG= 644927 Review-Url: https://codereview.chromium.org/2320853002 Cr-Commit-Position: refs/heads/master@{#417682} [modify] https://crrev.com/be3d81886eb8db29ae0b204becaef10476b7faa5/skia/BUILD.gn
,
Sep 12 2016
,
Sep 12 2016
Your change meets the bar and is auto-approved for M54 (branch: 2840)
,
Sep 12 2016
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/eefc57b54a8da83ebbdd072b0c5a05607b2366f8 commit eefc57b54a8da83ebbdd072b0c5a05607b2366f8 Author: erikchen <erikchen@chromium.org> Date: Mon Sep 12 19:50:03 2016 [Merge to 2840] Optimize skia for performance, rather than size on all platforms. > This change got lost in the GN migration. > > BUG= 644927 > > Review-Url: https://codereview.chromium.org/2320853002 > Cr-Commit-Position: refs/heads/master@{#417682} > (cherry picked from commit be3d81886eb8db29ae0b204becaef10476b7faa5) Review URL: https://codereview.chromium.org/2335803002 . Cr-Commit-Position: refs/branch-heads/2840@{#310} Cr-Branched-From: 1ae106dbab4bddd85132d5b75c670794311f4c57-refs/heads/master@{#414607} [modify] https://crrev.com/eefc57b54a8da83ebbdd072b0c5a05607b2366f8/skia/BUILD.gn
,
Sep 12 2016
,
Oct 27 2016
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/eefc57b54a8da83ebbdd072b0c5a05607b2366f8 commit eefc57b54a8da83ebbdd072b0c5a05607b2366f8 Author: erikchen <erikchen@chromium.org> Date: Mon Sep 12 19:50:03 2016 [Merge to 2840] Optimize skia for performance, rather than size on all platforms. > This change got lost in the GN migration. > > BUG= 644927 > > Review-Url: https://codereview.chromium.org/2320853002 > Cr-Commit-Position: refs/heads/master@{#417682} > (cherry picked from commit be3d81886eb8db29ae0b204becaef10476b7faa5) Review URL: https://codereview.chromium.org/2335803002 . Cr-Commit-Position: refs/branch-heads/2840@{#310} Cr-Branched-From: 1ae106dbab4bddd85132d5b75c670794311f4c57-refs/heads/master@{#414607} [modify] https://crrev.com/eefc57b54a8da83ebbdd072b0c5a05607b2366f8/skia/BUILD.gn |
|||||
►
Sign in to add a comment |
|||||
Comment 1 by erikc...@chromium.org
, Sep 7 2016