Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Intelligence (Analytics)
Why is the RCP report designer so slow?
NewInBirt
Hello,
i designed/programmed a report using scripted data source. The scripted data source relates to a heterogenous java program.
If i start with eclipse a new eclipse-instance (run --> eclipse application) the report within of the report designer can be started normally. I click: "View Report in Report Viewer". --> The report output takes about 5 seconds for showing.
But now, if I try it within of the RCP report designer the same report (the same rptdesign-file) will be showed in about 10 minutes. All the needed jar-files were correctly coppied into the following folder:
birt-rcp-report-designer-2_5_0pluginsorg.eclipse.birt.report.viewer_2.5.0.v20090520birtscriptlib
There is no exception and no critical logging.
I have no idea why the performance is so low.
Did you have the same problem like me?
Please could you help me?
I am at my wit's end.
Thank you.
Bye
NewInBirt
Find more posts tagged with
Comments
mwilliams
Hi NewInBirt,
Can you recreate this issue with a simple scripted dataSet that I can test between the standard designer and RCP designer?
NewInBirt
Hi Michael,
thank you very much for your answer.
The problem is that the report was created in a company. Creating the birt report, the environment of the company is essential.
I have a generally question: Can you imagine, if both report designer (designer in eclipse and the rcp one) works different?
I don´t know how to solute the problem. There is no exception or logging, only the performance is different.
(in eclipse report designer 10 sec. and in rcp report desigenr 10 min.)
Bye
NewInBirt
NewInBirt
Hello,
now I know my problem, but I don´t know how I can solute it.
The reason for my problem are the scripts within of the the data source / data sets.
I have in the "open" script of the data source, a initialization-method in order to connect to the database.
All my data sets firstly run the script of the data source (depth of inheritance). But the initialization should be conducted only one time.
At the moment the initialization to the database will ensuring a few times.
Now is the question:
Where i have to put the method for initialization (login-method), which should conducted only on the beginning of the report?
And where i put the disconnect-method (also it should conducted one time before i close the report viewer).
Thank you very much.
Bye
NewInBirt
dzish
Thanks to <a class='bbc_url' href='
http://dev.eclipse.org/mhonarc/lists/birt-report-designer-dev/msg00187.html'>John
Abhilash</a> I know sollution.<br />
Make only one binding element (typically table) to scripted dataset.<br />
Don't try to edit results of s.dataset in table. Get all needed values just from scripted datasource.<br />
GL