[Libreoffice] Windows ; small program that inject dll in LibreOffice Quickstarter in order to improve component start time

Michael Meeks michael.meeks at suse.com
Mon Jul 16 02:29:07 PDT 2012

On Sat, 2012-07-14 at 10:00 +0100, Caolán McNamara wrote:
> > Quickstarter. It inject dll used by Writer and Calc in order to improve
> > the first start of those tools (if they aren't start too late after the
> > dll were injected).
> > So here is the bug : https://bugs.freedesktop.org/show_bug.cgi?id=43188
> This one's lingered for a while. So... it looks sort of similar to the
> unix-only pagein stuff we have, e.g. unx/source/pagein.c except that
> it's an external program that finds if the systray app is running and if
> it is then force that to preload the writer and calc dlls so that
> launching writer and calc is then quite fast, right ?

	So - if the systray is running - then we have a ton of LibreOffice
already there in the background; UNO is bootstrapped and the configmgr
startup is done; apparently though we don't have the sw and sc DLLs
loaded - I guess we're in some empty-shell / sfx2 style mode.

> Seeing as we maintain those "pagein" lists, maybe the best approach
> would be to package those lists for windows as well and get the systray
> (sfx2/source/appl/shutdowniconw32.cxx I think) to load them directly,
> rather than having an external app that forces it to do it ?

	Right; so - we could easily do a couple of UNO service activations
there to suck in writer and calc I guess.

	A patch like that would have a good chance of getting merged I
think :-) Of course, configuring which ones you really want to load is
more of an interesting problem, but I guess impress is faster and
smaller to link than writer+calc.

	Then again, clearly the quick-starter can become a slow-starter if it's
all loaded in, and then very slowly swapped out to disk again through
lack of use :-)

	Thanks for picking it up Caolan !



michael.meeks at suse.com  <><, Pseudo Engineer, itinerant idiot

More information about the LibreOffice mailing list