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


Hi there,

On Mon, 2012-05-21 at 10:59 +0400, libreoffice.ge@gmail.com wrote:
We use OpenOffice.org 3.2.1 Library  to   restore   OOO | LO  CALC
sheet  from byte array and have issue  with the performance while
using loader.loadComponentFromURL("private:stream", "_default", 0,
args)  :

        Oh - wow, 3.2.1 is pretty old :-) One rather good way to improve
performance, should be to move to using a much more recent build, say
LibreOffice 3.5.4rc1.

I have to get XComponent object and i do it with following code:

        I assume this is from C++ (?) anything else would of course cause tons
of bridging overhead in the streams.

The problem is that loader.loadComponentFromURL("private:stream",
"_default", 0, args); method needs 2 - 4 seconds which is not
acceptable. If anyone knows how to improve performance, please reply.

        There is ongoing work to accelerate import; what format of what is in
your byte array ? is it ODF ? 2-4 seconds sounds a lot of time - do you
have a LibreOffice instance around - ie. have you started up the suite
before that, and that's just the load time ?

        HTH,

                Michael.

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


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.