Bug 116630 - High CPU usage (25%) scrolling a slide down with arrow key containing a table
Summary: High CPU usage (25%) scrolling a slide down with arrow key containing a table
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Impress (show other bugs)
Version:
(earliest affected)
5.4.0.3 release
Hardware: All Windows (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: bibisected, bisected, needsDevAdvice
Depends on:
Blocks: DirectWrite-Regression Scrolling-Performance
  Show dependency treegraph
 
Reported: 2018-03-25 21:02 UTC by Telesto
Modified: 2023-12-05 13:42 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
Example file (38.97 KB, application/vnd.oasis.opendocument.presentation)
2018-03-25 21:04 UTC, Telesto
Details
Bibisect log (2.91 KB, text/plain)
2018-03-25 21:11 UTC, Telesto
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Telesto 2018-03-25 21:02:30 UTC
Description:
Using 1 core scrolling a slide down with arrow key

Steps to Reproduce:
1. Open the attached file (based on bug 113643)
2. Scroll the slide to top position
3. Scroll down using the down arrow key

Actual Results:  
Utilization of 1 core & a small lag

Expected Results:
12% or less


Reproducible: Always


User Profile Reset: No



Additional Info:
Found in
Version: 6.1.0.0.alpha0+
Build ID: dd4f1b1bd31daf080dc0420524712dc244e539b5
CPU threads: 4; OS: Windows 6.3; UI render: default; 
TinderBox: Win-x86@42, Branch:master, Time: 2018-03-20_23:26:38
Locale: nl-NL (nl_NL); Calc: CL


User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:52.0) Gecko/20100101 Firefox/52.0
Comment 1 Telesto 2018-03-25 21:04:55 UTC
Created attachment 140880 [details]
Example file
Comment 2 Telesto 2018-03-25 21:11:27 UTC
Created attachment 140881 [details]
Bibisect log

Bisected to:
author	Khaled Hosny <khaledhosny@eglug.org>	2017-03-03 05:15:14 +0200
committer	Khaled Hosny <khaledhosny@eglug.org>	2017-03-03 13:22:53 +0000
commit a51b7a1c3a7e7cf7b0c733e1dec40288278c1884 (patch)
tree 6452088195b6c0ad617e7a6b9f97ecc8672d321e
parent 5742868ccf030b2c0f03538d030bd18bd5666bdb (diff)
tdf#103831, tdf#100986: Force using GDI when needed
Our DirectWrite renderer is incomplete and can’t handle rotated text or text
with horizontal scaling, so route these two through GDI for now.
Comment 3 Buovjaga 2018-03-29 14:17:19 UTC
Don't know, if we should just dupe to bug 107521 ...?
Comment 4 Telesto 2018-03-29 20:07:45 UTC
(In reply to Buovjaga from comment #3)
> Don't know, if we should just dupe to bug 107521 ...?

It's a bit to complex for me.  A commit partly reverted again because of all sorts of performance issues 
http://cgit.freedesktop.org/libreoffice/core/commit/?id=5440837e02dee8bc884e02be697bfd4def621d26&h=libreoffice-5-3 (See (meta) bug 112486

The problem is still exists in LibO6.1, so must another part of same commit. Or related to bug 108608..
Comment 5 Roman Kuznetsov 2019-11-27 14:50:08 UTC
Why isn't it a NEW? I can confirm it in:

Версия: 6.5.0.0.alpha0+ (x64)
ID сборки: 685a0c2de4e12cde691ebff63b0f2348a7d68b58
Потоков ЦП: 4; ОС:Windows 10.0 Build 18362; Отрисовка ИП: по умолчанию; VCL: win; 
Локаль: ru-RU (ru_RU); Язык интерфейса: ru-RU
Calc: threaded
Comment 6 Buovjaga 2019-11-27 15:12:13 UTC
(In reply to Roman Kuznetsov from comment #5)
> Why isn't it a NEW? I can confirm it in:

Because keyword: needsDevAdvice
Comment 7 QA Administrators 2021-12-02 04:43:23 UTC Comment hidden (obsolete)
Comment 8 QA Administrators 2023-12-03 03:14:08 UTC Comment hidden (obsolete)
Comment 9 Buovjaga 2023-12-03 08:49:49 UTC
I actually now see half the CPU use in master compared to 5.4 oldest.

Telesto: maybe time for a retest?

Version: 24.2.0.0.alpha1+ (X86_64) / LibreOffice Community
Build ID: 619500d6919c227e734b119481a4b334972e0b7b
CPU threads: 2; OS: Windows 10.0 Build 22621; UI render: Skia/Raster; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: threaded
Comment 10 Telesto 2023-12-05 13:42:57 UTC
Feels decent
Version: 24.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: ff3fb42b48c70ba5788507a6177bf0a9f3b50fdb
CPU threads: 4; OS: Windows 6.3 Build 9600; UI render: Skia/Raster; VCL: win
Locale: nl-NL (nl_NL); UI: en-US
Calc: CL threaded