Date: prev next · Thread: first prev next last
2014 Archives by date, by thread · List index


Hello,

Il 29/12/2014 12:02, Jens Tröger ha scritto:
Hello,

I'm opening this ML thread based on the following two forum discussions,
none of which have yielded much resolution yet:

   http://en.libreofficeforum.org/node/9850
   https://forum.openoffice.org/en/forum/viewtopic.php?f=20&t=74332

To summarize: I run an office instance locally, headless, as a listener.
Using Python and UNO I connect to that office instance, load a test
document, and iterate over its paragraphs.

On my Mac this takes 1.5s while on Linux it takes about 45s, a severe
degradation in performance.  I could reproduce this across three
different Linux machines now consistently (Gentoo, Ubuntu).

Reproduced here too with 4.4.0 beta1

I have not yet started a more thorough profiling of the office instance,
hoping that raising this issue to the developers might solve the
problems.

Well you can fire a profiler, but also you can add a few more prints to see it the slowness is in the loop or from .createEnumeration().

thanks,
riccardo

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.