|
|
Chromium Code Reviews|
Created:
4 years, 9 months ago by wkorman Modified:
4 years, 8 months ago CC:
blink-reviews, blink-reviews-platform-graphics_chromium.org, Rik, chromium-reviews, danakj+watch_chromium.org, dshwang, drott+blinkwatch_chromium.org, krit, f(malita), jbroman, Justin Novosad, kinuko+watch, pdr+graphicswatchlist_chromium.org, rwlbuis, Stephen Chennney Base URL:
https://chromium.googlesource.com/chromium/src.git@master Target Ref:
refs/pending/heads/master Project:
chromium Visibility:
Public. |
DescriptionMove DisplayItemList complex inline method implementations to .cpp.
Committed: https://crrev.com/811e81b3595e049ecaeb4b6b3a65f2275b952c1c
Cr-Commit-Position: refs/heads/master@{#384469}
Patch Set 1 #Patch Set 2 : Sync to head. #Patch Set 3 : Sync to head. #Patch Set 4 : Sync to head. #
Messages
Total messages: 22 (7 generated)
wkorman@chromium.org changed reviewers: + jbroman@chromium.org
For discussion -- I found working in DIL and reading it hard due to the non-trivial logic in the header file. This would be cleaner IMO. Is having them in the header for (presumably) inlining purposes actually important? We could try it and see?
On 2016/03/18 at 00:39:25, wkorman wrote: > For discussion -- I found working in DIL and reading it hard due to the non-trivial logic in the header file. This would be cleaner IMO. > > Is having them in the header for (presumably) inlining purposes actually important? We could try it and see? Can you kick off a rasterize and record tryjob no cluster telemetry with this patch (https://ct.skia.org)? I agree we should do this if it doesn't regress perf. I am almost positive it will, but definitely worth a try.
pdr@chromium.org changed reviewers: + pdr@chromium.org
assertDisplayItemClientsAreAlive can almost certainly move, because we don't even ship it (who cares if we regress debug performance slightly?). The other one...was ~1 line when originally written, but has since acquired debug hooks. I suspect it's probably fine to outline it anyhow (but a perf check would be a reasonable idea, given how hot this method potentially is), but it's a little unfortunate that the debug checks make it so much longer. Makes me wonder if it could be refactored slightly to solve this.
On 2016/03/18 at 01:19:32, pdr wrote: > On 2016/03/18 at 00:39:25, wkorman wrote: > > For discussion -- I found working in DIL and reading it hard due to the non-trivial logic in the header file. This would be cleaner IMO. > > > > Is having them in the header for (presumably) inlining purposes actually important? We could try it and see? > > Can you kick off a rasterize and record tryjob no cluster telemetry with this patch (https://ct.skia.org)? I agree we should do this if it doesn't regress perf. I am almost positive it will, but definitely worth a try. ct.skia.org seems to have a bug currently. When I click 'Queue Task' it pops up a 'Proceed with queueing task?' dialog. When I click OK, it shows an empty black toast-type popup at bottom left, the 'Proceed...?' dialog never closes, and eventually the empty black popup disappears. The task is not queued. Test in both Chrome and FF. I see a server error 500 in dev tools network response per below. Should I file a bug on someone for Cluster Telemetry? Request URL:https://ct.skia.org/_/add_chromium_perf_task Request Method:POST Status Code:500 Internal Server Error Remote Address:104.154.112.102:443 Response Headers view source Connection:keep-alive Content-Encoding:gzip Content-Length:25 Content-Type:text/plain; charset=utf-8 Date:Fri, 18 Mar 2016 21:12:14 GMT Server:nginx
On 2016/03/18 at 21:13:13, wkorman wrote: > On 2016/03/18 at 01:19:32, pdr wrote: > > On 2016/03/18 at 00:39:25, wkorman wrote: > > > For discussion -- I found working in DIL and reading it hard due to the non-trivial logic in the header file. This would be cleaner IMO. > > > > > > Is having them in the header for (presumably) inlining purposes actually important? We could try it and see? > > > > Can you kick off a rasterize and record tryjob no cluster telemetry with this patch (https://ct.skia.org)? I agree we should do this if it doesn't regress perf. I am almost positive it will, but definitely worth a try. > > ct.skia.org seems to have a bug currently. When I click 'Queue Task' it pops up a 'Proceed with queueing task?' dialog. When I click OK, it shows an empty black toast-type popup at bottom left, the 'Proceed...?' dialog never closes, and eventually the empty black popup disappears. The task is not queued. Test in both Chrome and FF. I see a server error 500 in dev tools network response per below. Should I file a bug on someone for Cluster Telemetry? > > Request URL:https://ct.skia.org/_/add_chromium_perf_task > Request Method:POST > Status Code:500 Internal Server Error > Remote Address:104.154.112.102:443 > Response Headers > view source > Connection:keep-alive > Content-Encoding:gzip > Content-Length:25 > Content-Type:text/plain; charset=utf-8 > Date:Fri, 18 Mar 2016 21:12:14 GMT > Server:nginx I just hit this too. I filed https://bugs.chromium.org/p/chromium/issues/detail?id=596183
At long last! CT run here: https://storage.cloud.google.com/cluster-telemetry/tasks/chromium_perf_runs/w... It's all green. Opinions? Re-do on Android? It's an interesting experiment.
On 2016/03/31 at 04:20:00, wkorman wrote: > At long last! CT run here: > > https://storage.cloud.google.com/cluster-telemetry/tasks/chromium_perf_runs/w... > > It's all green. Opinions? Re-do on Android? It's an interesting experiment. A perf improvement!? We should 100% land this if that's the case. I don't understand how this could happen though. I don't want to delay this awesome but could you do one more run on both linux and android to double-check that this wasn't a fluke?
On 2016/03/31 at 04:24:56, pdr wrote: > On 2016/03/31 at 04:20:00, wkorman wrote: > > At long last! CT run here: > > > > https://storage.cloud.google.com/cluster-telemetry/tasks/chromium_perf_runs/w... > > > > It's all green. Opinions? Re-do on Android? It's an interesting experiment. > > A perf improvement!? > > We should 100% land this if that's the case. I don't understand how this could happen though. I don't want to delay this awesome but could you do one more run on both linux and android to double-check that this wasn't a fluke? Re-run of CT: Android: https://storage.cloud.google.com/cluster-telemetry/tasks/chromium_perf_runs/w... Linux: https://storage.cloud.google.com/cluster-telemetry/tasks/chromium_perf_runs/w... Linux: Previously showed a -0.327% improvement in record_time, now shows +0.111%. Android: Only run we've got, shows +0.168% in record_time. If +/-0.1xx% record_time is within typical volatility range, which currently it seems like it is, then I think this change is fine. I'll do another Android run, thoughts welcome.
On 2016/03/31 at 18:48:39, wkorman wrote: > On 2016/03/31 at 04:24:56, pdr wrote: > > On 2016/03/31 at 04:20:00, wkorman wrote: > > > At long last! CT run here: > > > > > > https://storage.cloud.google.com/cluster-telemetry/tasks/chromium_perf_runs/w... > > > > > > It's all green. Opinions? Re-do on Android? It's an interesting experiment. > > > > A perf improvement!? > > > > We should 100% land this if that's the case. I don't understand how this could happen though. I don't want to delay this awesome but could you do one more run on both linux and android to double-check that this wasn't a fluke? > > Re-run of CT: > > Android: https://storage.cloud.google.com/cluster-telemetry/tasks/chromium_perf_runs/w... > Linux: https://storage.cloud.google.com/cluster-telemetry/tasks/chromium_perf_runs/w... > > Linux: Previously showed a -0.327% improvement in record_time, now shows +0.111%. > Android: Only run we've got, shows +0.168% in record_time. > > If +/-0.1xx% record_time is within typical volatility range, which currently it seems like it is, then I think this change is fine. I'll do another Android run, thoughts welcome. That looks more like I'd expect. LGTM, likely an incredibly minor regression and a not-minor progression in code cleanliness.
On 2016/03/31 at 18:50:15, pdr wrote: > On 2016/03/31 at 18:48:39, wkorman wrote: > > On 2016/03/31 at 04:24:56, pdr wrote: > > > On 2016/03/31 at 04:20:00, wkorman wrote: > > > > At long last! CT run here: > > > > > > > > https://storage.cloud.google.com/cluster-telemetry/tasks/chromium_perf_runs/w... > > > > > > > > It's all green. Opinions? Re-do on Android? It's an interesting experiment. > > > > > > A perf improvement!? > > > > > > We should 100% land this if that's the case. I don't understand how this could happen though. I don't want to delay this awesome but could you do one more run on both linux and android to double-check that this wasn't a fluke? > > > > Re-run of CT: > > > > Android: https://storage.cloud.google.com/cluster-telemetry/tasks/chromium_perf_runs/w... > > Linux: https://storage.cloud.google.com/cluster-telemetry/tasks/chromium_perf_runs/w... > > > > Linux: Previously showed a -0.327% improvement in record_time, now shows +0.111%. > > Android: Only run we've got, shows +0.168% in record_time. > > > > If +/-0.1xx% record_time is within typical volatility range, which currently it seems like it is, then I think this change is fine. I'll do another Android run, thoughts welcome. > > That looks more like I'd expect. LGTM, likely an incredibly minor regression and a not-minor progression in code cleanliness. Sweet. It's really nice to have the bulk of code in .cpp when actively working on it as compile times are much faster.
The CQ bit was checked by wkorman@chromium.org
The patchset sent to the CQ was uploaded after l-g-t-m from pdr@chromium.org Link to the patchset: https://codereview.chromium.org/1812153002/#ps60001 (title: "Sync to head.")
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1812153002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1812153002/60001
The CQ bit was unchecked by commit-bot@chromium.org
Try jobs failed on following builders: win_chromium_compile_dbg_ng on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_comp...)
The CQ bit was checked by wkorman@chromium.org
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1812153002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1812153002/60001
Message was sent while issue was closed.
Committed patchset #4 (id:60001)
Message was sent while issue was closed.
Description was changed from ========== Move DisplayItemList complex inline method implementations to .cpp. ========== to ========== Move DisplayItemList complex inline method implementations to .cpp. Committed: https://crrev.com/811e81b3595e049ecaeb4b6b3a65f2275b952c1c Cr-Commit-Position: refs/heads/master@{#384469} ==========
Message was sent while issue was closed.
Patchset 4 (id:??) landed as https://crrev.com/811e81b3595e049ecaeb4b6b3a65f2275b952c1c Cr-Commit-Position: refs/heads/master@{#384469} |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
