Bug Hunting Session
Bug 107113 - Ever worsening performance on OSX
Summary: Ever worsening performance on OSX
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
5.3.1.2 release
Hardware: x86-64 (AMD64) Mac OS X (All)
: high major
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: perf, regression
Depends on:
Blocks: MacOS-Performance
  Show dependency treegraph
 
Reported: 2017-04-12 09:26 UTC by Alex Thurgood
Modified: 2018-07-09 07:14 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alex Thurgood 2017-04-12 09:26:09 UTC
Description:
Ever worsening performance of LibreOffice on MacOSX

General performance and responsiveness of LibreOffice has degraded consistently over time.

Just for comparison:

LibreOffice 5312 vs ApacheOpenOffice 431

Start-up time:
Select Application in Finder
Right-mouse button click and choose Open
The time measured is the time taken to display the StartCenter on screen

LibreOffice 531 : 9s
ApacheOpenOffice 431 : 2s


Context menu display:
Open a new Writer document  
Right-mouse button click on the page

LibreOffice 531 : 2s
ApacheOpenOffice 431 : 0.5s

Hardware :
MacBook Pro (Retina, 15 pouces, end 2013)
2,6 GHz Intel Core i7
16 Go 1600 MHz DDR3
NVIDIA GeForce GT 750M 2048 Mo
Intel Iris Pro 1536 Mo




Steps to Reproduce:
See description above

Actual Results:  
See description above

Expected Results:
Performance should at least be as good as ApacheOpenOffice, or at least as good as previous, older versions of LibreOffice were.


Reproducible: Always

User Profile Reset: No

Additional Info:


User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:52.0) Gecko/20100101 Firefox/52.0
Comment 1 Alex Thurgood 2017-04-12 09:50:28 UTC
Comparison with previous versions of LibreOffice :

LO 3672
Startup : 3.5s
Writer context menu : 0.20s

LO 4162
Startup : 6.20s
Writer context menu : 0.20s

LO4252
Startup : 6.20s
Writer context menu : 0.20s

LO4341
Startup : 14.3s
Writer context menu : 0.20s

LO4452
Startup : 16.9s
Writer context menu : 0.20s

LO5162
Startup : 15.4s
Writer context menu : 0.20s


LO5262
Startup : 28.25s
Writer context menu : 1.35s
Comment 2 Alex Thurgood 2017-04-12 09:59:27 UTC
Note that the times measured are all "cold start", i.e. not using a recent LO context for the user profile.

One way to test this is to launch another app in between restarting LO, or even a previous branch version with different user profile path.
Comment 3 Telesto 2017-04-12 15:03:43 UTC
I can confirm. However looks quite similar to my report bug 103252 (except testing here is a bit more substantial; so feel free to add bug 103252 as duplicate)
Comment 4 Dennis Roczek 2017-04-12 16:00:12 UTC
@Alex: Java activated in both suites? (I might try to confirm it later [whatever later is])
Comment 5 Alex Thurgood 2017-04-13 08:23:49 UTC
(In reply to Dennis Roczek from comment #4)
> @Alex: Java activated in both suites? (I might try to confirm it later
> [whatever later is])

Yes, JDK8_121 for the latest Stable/Fresh versions.
Comment 6 Telesto 2017-04-18 17:58:50 UTC
Probably (also) related to the main-loop / idle handler re-work. See chatlog wget (attachment 132593 [details], bug 106154)
Comment 7 Alex Thurgood 2018-07-09 07:06:08 UTC
Version: 6.0.5.2
Build ID: 54c8cbb85f300ac59db32fe8a675ff7683cd5a16
Threads CPU : 4; OS : Mac OS X 10.13.5; UI Render : par défaut; 
Locale : fr-FR (fr_FR.UTF-8); Calc: group


Startup : 6.5s
Writer context menu (initial launch): 2.29s
Writer context menu (subsequent launch): 0.33s

The initial context menu launch and display of context menu is still slow in relative terms compared to previous versions of LO (and current AOO), however the initial startup times to display StartCenter are back to something acceptable.


Closing as WFM
Comment 8 Tor Lillqvist 2018-07-09 07:14:04 UTC
This WFM makes me very happy.