Bug 140814

Summary: PPTX slow to load from 6.3 in Windows
Product: LibreOffice Reporter: Timur <timur>
Component: ImpressAssignee: Not Assigned <libreoffice-bugs>
Status: NEW ---    
Severity: normal CC: 79045_79045, aron.budea, marklh9, serval2412, telesto
Priority: medium Keywords: bibisected, bisected, filter:pptx, perf
Version: 6.3.0.4 release   
Hardware: All   
OS: Windows (All)   
See Also: https://bugs.documentfoundation.org/show_bug.cgi?id=128871
https://bugs.documentfoundation.org/show_bug.cgi?id=44223
Whiteboard:
Crash report or crash signature: Regression By:
Bug Depends on:    
Bug Blocks: 108226, 136524    
Attachments: perf flamegraph

Description Timur 2021-03-05 09:09:07 UTC
PPTX attachment 162028 [details] from bug 128871 loads very slow in Windows from LO 6.3 up to 7.2+.
Looks like regression.
Comment 1 Telesto 2021-03-05 15:03:58 UTC
Confirm
Version: 7.2.0.0.alpha0+ (x64) / LibreOffice Community
Build ID: 722ec600e85cca2e94e82e69f8d13773061172b9
CPU threads: 4; OS: Windows 6.3 Build 9600; UI render: Skia/Raster; VCL: win
Locale: nl-NL (nl_NL); UI: nl-NL
Calc: CL

Still OK with 6.2
Comment 2 Timur 2021-04-22 09:24:54 UTC Comment hidden (obsolete)
Comment 3 Aron Budea 2021-04-27 00:27:25 UTC
This started with the following commit, bibisected using bibisect-win32-6.3. Considering this came with an added feature, I'd say it isn't actually a regression.

https://cgit.freedesktop.org/libreoffice/core/commit/?id=8a1321362a0229a25869e4e3d0422a5a51c5b5be
author		Mark Hung <marklh9@gmail.com>	2019-01-20 20:33:26 +0800
committer	Mark Hung <marklh9@gmail.com>	2019-02-04 01:03:00 +0100

tdf#44223 oox: import embedded media stream.
Comment 4 Roman Kuznetsov 2021-09-25 14:46:50 UTC
22 seconds in

Version: 7.3.0.0.alpha0+ (x64) / LibreOffice Community
Build ID: 1516711eb7861a08cc9fd19ec867360737a6d070
CPU threads: 4; OS: Windows 10.0 Build 19043; UI render: Skia/Vulkan; VCL: win
Locale: ru-RU (ru_RU); UI: en-US
Calc: threaded

I don't know it's fast or not for 18 mb file with some media

Timur, could you retest it yourself?
Comment 5 Timur 2021-09-26 20:44:36 UTC
Testing with just master is inconclusive. One should test with version before regression to compare.
Comment 6 Aron Budea 2021-10-06 22:04:55 UTC
For me the times when opening the PPSX from Impress are:
- ~40s in a recent 7.3 daily build and in 7.0.0.3,
- ~5s in 6.2.0.3.

We should probably aim for a sub-10s load time.
Comment 7 Julien Nabet 2021-10-10 07:21:28 UTC
Created attachment 175613 [details]
perf flamegraph

Here's a Flamegraph retrieved on pc Debian x86-64 with master sources updated today + gen rendering.