Bug 90773 - FILEOPEN: Long delay while opening impress presentations
Summary: FILEOPEN: Long delay while opening impress presentations
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Impress (show other bugs)
Version:
(earliest affected)
4.5.0.0.alpha0+ Master
Hardware: All macOS (All)
: highest critical
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: notBibisectable, perf, regression
Depends on:
Blocks:
 
Reported: 2015-04-21 23:43 UTC by Thorsten Wagner
Modified: 2017-02-16 09:37 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
Sample Presentation (36.33 KB, application/vnd.oasis.opendocument.presentation)
2015-04-21 23:43 UTC, Thorsten Wagner
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Thorsten Wagner 2015-04-21 23:43:54 UTC
Created attachment 114998 [details]
Sample Presentation

Opening impress presentations take a very long time with LibreOffice 5. Using the small sample presentation attached LibreOffice Impress has the following response times:

LibreOffice 4.4.3:  5 s
LibreOffice 5.0.0: 45 s

Degradiation of loading time seems to depend on the number of slides contained within the presentation:

(1) With 10 or less slides loading times of LibreOffice 4.4.3 and LibreOffice 5 are similar.

(2) With 30 slides (sample presentation) loading times of LibreOffice 5 are much worse than loading times of LibreOffice 4.4.3.

LibreOffice 5 is compiled from the current revision from master. Loading LibreOffice itself is included within the measurements. As LibreOffice has been loaded from SSD the time allotted to loading LibreOffice is very small in relation to loading the presentation itself using LibreOffice 5.

The problem has been observed on Mac OS X 10.10.3 with LibreOffice 5. It doesn't seem to be present in earlier releases of LibreOffice.
Comment 1 Alex Thurgood 2015-04-22 07:36:53 UTC
@Thorsten : please indicate exactly how you opened the file so that I can test in a comparable manner, as you mention that document loading times also included app startup time.

If the problem is in the app startup time, then overall times for opening a giving document are all the more relative.

Setting to NEEDINFO pending requested information. Please set to UNCONFIRMED once you have provided that information.
Comment 2 Alex Thurgood 2015-04-22 08:06:16 UTC
Right mouse button click on Sample.odp file, the choose Open with :

LibreOffice
Version: 4.4.2.2
Build ID: c4c7d32d0d49397cad38d62472b0bc8acff48dd6
Locale : fr_


Time : 26.6 seconds

Run test with 
Version: 5.0.0.0.alpha1+
Build ID: da36fc8c9564199b8c2f8f28c2e4d04d9862a2d4
TinderBox: MacOSX-10.10@61, Branch:master, Time: 2015-04-21_21:09:35
Locale: fr_

I couldn't use the context menu "open with LibreOfficeDev" as this fails with a service configuration error and LO refuses to start, so I started LibreOfficeDev separately, and then dragged and dropped the file onto the StartCenter

Time : 1 min 32.8 seconds

In other words, a F-fold increase in loading time.

CONFIRMING, REGRESSION
Comment 3 Alex Thurgood 2015-04-22 08:14:26 UTC
Managed to repeat the test with LODev daily via the context menu (some user config corruption problem prevented this in my previous test apparently)


Time : 1 min 39.9 seconds
Comment 4 Italo Vignoli 2015-04-22 16:10:48 UTC
I have repeated the test with the Sample document, and there is a minor delay: LibreOffice 4.4.3.1 has opened the file in less than 2 seconds, and LibreOffice 5.0 Alpha in less than 5 seconds. The delay is visible with a 99MB presentation (over 100 slides), which is opened by LibreOffice 4.4.3.1 in less than 5 seconds and by LibreOffice 5.0 Alpha in over 40 seconds. Actually, the file is loaded fast (more or less, the same time for both LibreOffice versions), but the visualization takes significantly longer.
Comment 5 Alex Thurgood 2015-04-22 16:44:49 UTC
FWIW, my test bed :

Mac mini Server (mi-2010)
2,66 GHz Intel Core 2 Duo
4 Go 1067 MHz DDR3
NVIDIA GeForce 320M 256 Mo
Comment 6 Alex Thurgood 2015-04-22 17:09:08 UTC
I have just tried this on one of my own Impress ODP files that contains just 35 slides of text (no images, no drawings or tables)

Select file in Finder, right mouse button click, Open with

LO is not running previous to launch.


LO4422 : 17.5 seconds
LO5 dev alpha daily 21/04/2015 : 1 minute 48.5 seconds !!!
Comment 7 Alex Thurgood 2015-04-22 17:21:24 UTC
Another of my presentations contains 50 slides, coloured background, some images, but mostly text.

LO4422 : 6.6 seconds
LO5dev daily 21/04 : 2 minutes 33.8 seconds
Comment 8 Alex Thurgood 2015-04-22 17:23:15 UTC
I have noticed that the problem is more marked when one switches application context after shutdown of LibreOffice, i.e. when one clicks on another application window before opening an ODP file.
Comment 9 Markus Mohrhard 2015-04-24 07:03:16 UTC
There are no blockers!
Comment 10 Thorsten Wagner 2015-05-11 21:04:29 UTC
I noticed more severe performance problems with Impress. Moving objects with arrow keys has very long delays and is in many cases not completed correctly. I don't know whether this is due to the same reason as opening files with long delays or another problem with a different reason.

The development version of Impress is not usable for creating presentations for now. I had to switch back to LO 4.4.3.
Comment 11 Thorsten Wagner 2015-05-31 14:11:06 UTC
Problem is still present - with LO 5.0 beta as well as with LO 5.1 from master.

The issue concerning object moves with arrow keys seems to be a different issue, because I'm able to reproduce it now. I will file a different bug.
Comment 12 Thorsten Wagner 2015-06-13 21:57:38 UTC
The issue seems to have disappeared using LO from master. It is still present in LO 5.0 beta. I recommend fixing it in LO 5.0 beta too.
Comment 13 Thorsten Wagner 2015-06-20 17:49:18 UTC
The issue seems to have disappeared in LO 5.0 beta too. There are still other performance issues with Impress. Impress seems to become slow when working for a while, e.g. 10 or 15 minutes. Compared with LO 4.4 Impress performs still worse.
Comment 14 Thorsten Wagner 2015-09-08 10:52:07 UTC
Significant Impress performance issues still exist in LO 5.0.1, 5.0.2, and master. Typing of characters as well as inserting objects and many other operations become very slow after a while. Creating a presentation with Impress from LO 5 is very annoying. I'm able to use LO 5 with Writer and Calc, for Impress I have to use LO 4.5.

@ QA: It seems this regression is getting less attention. As the original FILEOPEN issue seems to be resolved, is it reasonable to file a dedicated new issue to raise attention?
Comment 15 Robinson Tryon (qubit) 2015-09-09 21:32:47 UTC
(In reply to Thorsten Wagner from comment #14)
> Significant Impress performance issues still exist in LO 5.0.1, 5.0.2, and
> master. Typing of characters as well as inserting objects and many other
> operations become very slow after a while. Creating a presentation with
> Impress from LO 5 is very annoying. I'm able to use LO 5 with Writer and
> Calc, for Impress I have to use LO 4.5.
> 
> @ QA: It seems this regression is getting less attention. As the original
> FILEOPEN issue seems to be resolved, is it reasonable to file a dedicated
> new issue to raise attention?

Yes, please do. The developers (and the rest of us) can easily get bogged-down in comments and bug-change history that's unrelated and irrelevant to the particular issue that remains.

If the FILEOPEN problem is fixed, please mark the bug as RESOLVED WORKSFORME so we can clear it off the open pile :-)
Comment 16 Thorsten Wagner 2015-09-21 21:26:14 UTC
The original FILEOPEN issue seems to be resolved. I will file another bug for the general performance issue.
Comment 17 Robinson Tryon (qubit) 2015-12-15 11:22:57 UTC Comment hidden (obsolete)
Comment 18 Peeyush 2017-02-16 09:37:47 UTC
Dear All!

I am using laptop with Core i5 3rd generation, 4GB RAM. I working with LibreOffice 5.3.0.3. My problem is the presentation files take too long to open when I open them. I opened LibreImpress file of size 9.9 MB which contains mostly charts and tables, some images, it takes around 7-8 mins. average to open the file every time. 

Please help to resolve the issue.

Thanks,
Peeyush