https://bugs.freedesktop.org/show_bug.cgi?id=76051

          Priority: medium
            Bug ID: 76051
          Assignee: [email protected]
           Summary: CONFIGURATION: High Number of iteration and time to
                    convert the byte array in OOInputstream
          Severity: normal
    Classification: Unclassified
                OS: Mac OS X (All)
          Reporter: [email protected]
          Hardware: Other
        Whiteboard: BSA PossibleRegression
            Status: UNCONFIRMED
           Version: 4.2.0.4 release
         Component: Spreadsheet
           Product: LibreOffice

I am using Libo APIs to try to export a CALC and i need to convert the
available bytes to OOInputSteam. The code is 

                       byte[] byteArr = bos.toByteArray(); // These are the
bytes to available data
            oois            = new OOInputStream(byteArr);

            loadProps[loadProps.length-1]         = new PropertyValue();
            loadProps[loadProps.length-1].Name      = "InputStream";            
            loadProps[loadProps.length-1].Value  = oois; 

            long starttime = System.nanoTime();

        xSpreadsheetComponent =          
                   xComponentLoader.loadComponentFromURL("private:stream",
"_blank", 0, loadProps);

loadComponentFromURL part runs through the OOINputstream's readbyte method. I
have tried and used the differnet versions of LibreOffice. LibreOffice4.1.0.4
get 55 iteration and some 40000 bytes. LibreOffice4.1.5 get 6264 iteration and
74000 bytes for the same calc documents. These version takes the different time
to finish the load which is quiet less in version 4.1.0.4. Are these the issues
with the other version? Which is the right version to use for?
Operating System: Mac OS X
Version: 4.2.0.4 release
Last worked in: 4.1.0.4 release

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to