LibreOffice / lots

Letterhead, template, form, autotext, mail merge,... extension for LibreOffice
https://wollmux.org/
European Union Public License 1.1
53 stars 32 forks source link

Long startup delays #430

Open thorstenb opened 1 year ago

thorstenb commented 1 year ago

Seems WollMux is doing some network lookups on startup ,that are particularly onerous if network is slow or down

smehrbrodt commented 1 year ago

Don't notice any startup delays with network disabled. Can you provide some more information, where & when that delay happened?

thorstenb commented 1 year ago

It seems this has nothing to do with network, but it's general startup slowness.

For the Writer startup, with WollMux extension enabled, there's around a 10 second delay. Looking at a sal_log, that's to some extend probably JVM startup time:

2023-03-10:00:38:38.368:info:bridges:920:920:bridges/source/jni_uno/jni_uno2java.cxx:230: calling public abstract java.lang.Object com.sun.star.lang.XSingleComponentFactory.createInstanceWithContext(com.sun.star.uno.XComponentContext) throws com.sun.star.uno.Exception on com.sun.star.lib.uno.helper.Factory@4b2ebf8f (class com.sun.star.lib.uno.helper.Factory) 2023-03-10:00:38:43.825:info:bridges:920:920:bridges/source/jni_uno/jni_java2uno.cxx:352: java->uno call: getServiceManager on oid 10cd490;gcc3[0];5d653ae436cb40b19382d8b32736bc2a

(though the above is just a bit more than half of the perceived wallclock lag)

Perhaps something to get out of the critical path for application startup?