Apache OpenOffice (AOO) Bugzilla – Issue 69942
Macros taking a lot more process time under 2.0.x
Last modified: 2013-02-24 21:09:28 UTC
Hi, A user has wrote some macros under 1.4 and wanted to port them to 2.0.2 and then 2.0.3. The macros are executed well but the process time has growth from seconds under 1.4 to minutes under 2.0.3 (for example when changing the bold property of an axes). This make this company unable to use the 2.x versions. I join some samples files to the issue and a file comparing the process time between 1.4 and 2.0.2. Kind regards Sophie
Created attachment 39415 [details] file with the same code as in 2.0.2
Created attachment 39416 [details] 2.0.2 file with the ported macro
Created attachment 39417 [details] the original 1.1.4 file with the macro
Created attachment 39418 [details] file containing a comparison of process time between 1.0.4 and 2.0.2
adding Laurent in cc
i tested and reproduces the proble on linux OOo 2.0.3 tried unsuccesfully on xAxis font assignement - thisComponent.lockControllers() - splitting object stack call graphe.diagram.xaxis ... - setPropertyValue - reduce the number of datapoints reading the value with XRay is ok (fast) though
accepted
cc ab, mba
set target
set target from 2.x to 3.x according to http://wiki.services.openoffice.org/wiki/Target_3x
does anybody knows if this is still valid?
testing on linux & OOo 2.3 "2.0.2 file with the ported macro" MetGraphiqueEnForme subroutine is really fast now so no more problem, imho
seems to be not longer valid. As confirmed from Laurent, macros are quite fast with OO.org 2.3
closed