Il 27/12/2014 20:49, Jens Tröger ha scritto:
It's the exact same document in both cases, and the conversion is
auto-piloted using Python and UNO. In fact, it's the exact same
scenario on both hosts:
- run LO headless,
- open Python interpreter and use UNO to connect to LO,
- iterate over all paragraphs.
Everything (LO, Python, ...) runs local on the host, yet there are these
huge performance differences: 3 sec on Mac, ~3 min on Linux.
Have you tried profiling? BTW if you use 4.3 or newer you may want to
give a try to pylokit [1], a python wrapper for LibreOfficeKit.
[1] https://github.com/xrmx/pylokit
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.