Bug 96664 - High CPU load when using Master Pages
Summary: High CPU load when using Master Pages
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Impress (show other bugs)
(earliest affected) release
Hardware: All All
: medium normal
Assignee: Not Assigned
Keywords: perf, possibleRegression
Depends on:
Blocks: CPU-AT-100%
  Show dependency treegraph
Reported: 2015-12-22 08:20 UTC by bugzilla
Modified: 2023-01-03 03:19 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:

Example document which causes high CPU load (68.22 KB, application/vnd.oasis.opendocument.presentation)
2015-12-22 08:20 UTC, bugzilla

Note You need to log in before you can comment on or make changes to this bug.
Description bugzilla 2015-12-22 08:20:44 UTC
Created attachment 121493 [details]
Example document which causes high CPU load

Slide scrolling consumes 100% of CPU core when using master pages with presentation.

Steps to reproduce:
1. Create empty presentation
2. Set Master Page "Lush Green"
3. Try to scroll slide vertically.

You will notice high CPU load. On Windows systems load caused by soffice.bin process. On Linux systems it's Xorg and soffice.bin.
Scrolling doesn't cause CPU load when using "Default" master page. Some master pages cause less CPU load: "Midnightblue", "DNA".

LO version 3.5.4 doesn't cause high CPU load when using Master Pages. Versions 4.0, 4.2, 5.0 affected for me, on both Windows and Linux.
Comment 1 Buovjaga 2015-12-27 14:11:32 UTC
With vigorous back and forth scrolling I'm almost able to max out 1 CPU core.

Win 7 Pro 64-bit Version:
Build ID: a4764cfa80270f973da5861d0ddc28298bf16f4d
CPU Threads: 4; OS Version: Windows 6.1; UI Render: default; 
TinderBox: Win-x86@62-merge-TDF, Branch:MASTER, Time: 2015-12-24_22:45:12
Locale: fi-FI (fi_FI)
Comment 2 Joel Madero 2015-12-30 16:10:43 UTC
Bodhi Linux
LibreOffice 3.3 and 5.2

Both have basically the same CPU load with soffice and xorg. Both hit about 30% on my Duo Core 2 machine. Furthermore, older versions seem to be worse than 5.2 (on 3.6+ I was able to get xorg and soffice to both hit almost 60%)

Requesting independent confirmation that this is actually a regression.
Comment 3 QA Administrators 2017-01-03 19:57:46 UTC Comment hidden (obsolete)
Comment 4 Telesto 2018-03-24 15:38:55 UTC
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: en-US (nl_NL); Calc: CL
Comment 5 QA Administrators 2019-03-25 03:44:29 UTC Comment hidden (obsolete)
Comment 6 QA Administrators 2023-01-03 03:19:12 UTC
Dear bugzilla,

To make sure we're focusing on the bugs that affect our users today, LibreOffice QA is asking bug reporters and confirmers to retest open, confirmed bugs which have not been touched for over a year.

There have been thousands of bug fixes and commits since anyone checked on this bug report. During that time, it's possible that the bug has been fixed, or the details of the problem have changed. We'd really appreciate your help in getting confirmation that the bug is still present.

If you have time, please do the following:

Test to see if the bug is still present with the latest version of LibreOffice from https://www.libreoffice.org/download/

If the bug is present, please leave a comment that includes the information from Help - About LibreOffice.
If the bug is NOT present, please set the bug's Status field to RESOLVED-WORKSFORME and leave a comment that includes the information from Help - About LibreOffice.

Please DO NOT

Update the version field
Reply via email (please reply directly on the bug tracker)
Set the bug's Status field to RESOLVED - FIXED (this status has a particular meaning that is not 
appropriate in this case)

If you want to do more to help you can test to see if your issue is a REGRESSION. To do so:
1. Download and install oldest version of LibreOffice (usually 3.3 unless your bug pertains to a feature added after 3.3) from https://downloadarchive.documentfoundation.org/libreoffice/old/

2. Test your bug
3. Leave a comment with your results.
4a. If the bug was present with 3.3 - set version to 'inherited from OOo';
4b. If the bug was not present in 3.3 - add 'regression' to keyword

Feel free to come ask questions or to say hello in our QA chat: https://web.libera.chat/?settings=#libreoffice-qa

Thank you for helping us make LibreOffice even better for everyone!

Warm Regards,
QA Team