Issue 69942 - Macros taking a lot more process time under 2.0.x
Summary: Macros taking a lot more process time under 2.0.x
Status: CLOSED IRREPRODUCIBLE
Alias: None
Product: App Dev
Classification: Unclassified
Component: api (show other issues)
Version: 3.3.0 or older (OOo)
Hardware: All All
: P3 Trivial
Target Milestone: ---
Assignee: jsc
QA Contact: issues@api
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-09-28 14:14 UTC by sgautier.ooo
Modified: 2013-02-24 21:09 UTC (History)
4 users (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments
file with the same code as in 2.0.2 (35.49 KB, application/vnd.sun.xml.calc)
2006-09-28 14:16 UTC, sgautier.ooo
no flags Details
2.0.2 file with the ported macro (68.63 KB, application/vnd.oasis.opendocument.spreadsheet)
2006-09-28 14:16 UTC, sgautier.ooo
no flags Details
the original 1.1.4 file with the macro (35.49 KB, application/msword)
2006-09-28 14:17 UTC, sgautier.ooo
no flags Details
file containing a comparison of process time between 1.0.4 and 2.0.2 (10.13 KB, application/vnd.oasis.opendocument.text)
2006-09-28 14:18 UTC, sgautier.ooo
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description sgautier.ooo 2006-09-28 14:14:33 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
Comment 1 sgautier.ooo 2006-09-28 14:16:05 UTC
Created attachment 39415 [details]
file with the same code as in 2.0.2
Comment 2 sgautier.ooo 2006-09-28 14:16:54 UTC
Created attachment 39416 [details]
2.0.2 file with the ported macro
Comment 3 sgautier.ooo 2006-09-28 14:17:32 UTC
Created attachment 39417 [details]
the original 1.1.4 file with the macro
Comment 4 sgautier.ooo 2006-09-28 14:18:55 UTC
Created attachment 39418 [details]
file containing a comparison of process time between 1.0.4 and 2.0.2
Comment 5 sgautier.ooo 2006-09-28 14:20:43 UTC
adding Laurent in cc
Comment 6 maison.godard 2006-09-28 14:26:49 UTC
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
Comment 7 jsc 2006-10-11 09:01:21 UTC
accepted
Comment 8 jsc 2006-10-11 09:27:43 UTC
cc ab, mba
Comment 9 jsc 2006-10-18 09:12:04 UTC
set target
Comment 10 Martin Hollmichel 2007-11-09 17:27:39 UTC
set target from 2.x to 3.x according to
http://wiki.services.openoffice.org/wiki/Target_3x
Comment 11 jsc 2007-11-12 10:39:03 UTC
does anybody knows if this is still valid?
Comment 12 maison.godard 2007-11-12 10:56:34 UTC
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
Comment 13 jsc 2007-11-12 12:18:24 UTC
seems to be not longer valid. As confirmed from Laurent, macros are quite fast
with OO.org 2.3
Comment 14 jsc 2007-11-12 12:18:58 UTC
closed