Bug 76051 - CONFIGURATION: High Number of iteration and time to convert the byte array in OOInputstream
Summary: CONFIGURATION: High Number of iteration and time to convert the byte array in...
Status: RESOLVED DUPLICATE of bug 76053
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
4.2.0.4 release
Hardware: Other macOS (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard: BSA
Keywords: possibleRegression
Depends on:
Blocks:
 
Reported: 2014-03-12 04:22 UTC by Sugam
Modified: 2015-12-15 10:54 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sugam 2014-03-12 04:22:07 UTC
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
Comment 1 Jean-Baptiste Faure 2014-03-12 05:39:11 UTC
Same description as bug 76053. Keep the newest.

*** This bug has been marked as a duplicate of bug 76053 ***
Comment 2 Robinson Tryon (qubit) 2015-12-15 10:54:58 UTC
Migrating Whiteboard tags to Keywords: (possibleRegression)
[NinjaEdit]