To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=73912
                 Issue #|73912
                 Summary|CALC 2.2_m2 is slower then 2.0.4 _AND unstable_
               Component|Spreadsheet
                 Version|OOo 2.2
                Platform|All
                     URL|
              OS/Version|Linux
                  Status|UNCONFIRMED
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|DEFECT
                Priority|P2
            Subcomponent|code
             Assigned to|spreadsheet
             Reported by|wsp





------- Additional comments from [EMAIL PROTECTED] Fri Jan 26 08:38:37 -0800 
2007 -------
The macro below writes the text "12345" in 5 columns and some lines:

Sub Main
Dim oDoc as object, iSecS as Long, iSecE as Long,iMin as Long   
oDoc=StarDesktop.LoadComponentFromUrl("private:factory/scalc", "_blank", 0, 
Array() )
        oSheet  =oDoc.getSheets().getByIndex(0)
        iSecS=timer
        for rowCnt=1 to 500
                for colCnt=0 to 4
                        oSheet.getCellByPosition(colCnt, 
rowCnt).setString("12345")
                next colCnt
        next rowCnt
        iSecE=timer
        msgBox(iSecE-iSecS &"s  " &(iSecE-iSecS)/60 & "min",66,"Calc")  
End Sub

The results (time to write) are unpredictable and unstable:
lines | 2.0.4 [s]  | 2.2_m2 [s]
 100           2             1,1,2 (3 Results)
 500           7             7,7,7 OR 10,11,11 OR 203,197,210 OR 154,369,267
                                   OR _452_ OR 68 OR 20
1000          14            35,33,398

A reason for slowness is explained in 
http://qa.openoffice.org/issues/show_bug.cgi?id=73602
but not the reason for this.

---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to