| Summary: | CPU usage for dragging an jpg image has nearly doubled since LibO44(63) | ||
|---|---|---|---|
| Product: | LibreOffice | Reporter: | Telesto <telesto> |
| Component: | Draw | Assignee: | Not Assigned <libreoffice-bugs> |
| Status: | RESOLVED NOTABUG | ||
| Severity: | minor | CC: | ilmari.lauhakangas, michael.meeks, raal |
| Priority: | medium | Keywords: | bibisected, bisected, perf, regression |
| Version: | 5.0.0.5 release | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
| Crash report or crash signature: | Regression By: | ||
| Attachments: |
Example file
Screencast LO4463 Screencast LO5221 |
||
|
Description
Telesto
2016-12-31 09:28:20 UTC
Created attachment 130049 [details]
Example file
Created attachment 130050 [details]
Screencast LO4463
Created attachment 130051 [details]
Screencast LO5221
Yeah, CPU is getting hit pretty hard. Arch Linux 64-bit, KDE Plasma 5 Version: 5.4.0.0.alpha0+ Build ID: 1a58cdf8af1aba52ce0a376666dd7d742234d7cf CPU Threads: 8; OS Version: Linux 4.8; UI Render: default; VCL: kde4; Locale: fi-FI (fi_FI.UTF-8); Calc: group Built on January 4th 2016 This seems to have begun at the below commit. Adding Cc: to Michael Meeks; Could you possibly take a look at this one? Thanks 4641f2d79cb0e818208dec88b56f7e1d41c6dc1d is the first bad commit commit 4641f2d79cb0e818208dec88b56f7e1d41c6dc1d Author: Norbert Thiebaud <nthiebaud@gmail.com> Date: Tue May 26 13:05:42 2015 -0500 source 230a02dbb5b83ff4af1a31489e340f1fabb46096 author Michael Meeks <michael.meeks@collabora.com> 2014-10-16 11:46:11 (GMT) committer Caolán McNamara <caolanm@redhat.com> 2015-03-12 11:41:52 (GMT) commit 230a02dbb5b83ff4af1a31489e340f1fabb46096 (patch) tree 4b1e2919e0b5edcd697704e9c7afcbf1f8c1260b parent 86a547e33bab2a89513385c5af535a6099526616 (diff) vcl: parallelize image scaling. Well - this is just one of those things I think. We now parallelise image scaling - so we do it far more quickly; as such - we can process more mouse events in the same time, and thus render more interpolated images, which in turn takes more CPU time. I would expect 100% CPU usage if you've got enough mouse events though. IIRC we also take advantage of this to do a higher-quality interpolation in some cases, but I forget which. So -> not really a bug =) Of course as/when/if you can use OpenGL it should all be done on the GPU with little to no CPU cost but ... that's rather dependent on the hardware & drivers used. Thanks for reporting. |