Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
PUBLIC CLOUD
PRIVATE CLOUD
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Intelligence (Analytics)
Report Engine is very slow
prince87
Hi,
We are using Birt Report Engine in our Java application to print reports to pdf.
But Task.run is very slow. it takes 30 seconds to build a report of 3 pages for the first time.for the second time it takes only 2 sec to generate the report.
Is there any way to minimise the report generation time when we print it for the first time?
Please let me know if there is any way to optimise the report engine.
I have attached birt engine.
We have used scripted data source and BIRT Designer Version 3.7.2.v20120213.
Find more posts tagged with
Comments
prince87
I have attached the 3 rptdesign files also.
Please let me know if anu further info is required.
Thanks!
mwilliams
Is this an application that you leave running? Or do you start it up just to run these reports each time? If it's something you can leave running, you could create a singleton for engine/platform access and just use the same engine every time you run your reports and only shut down the platform/engine when you shut down the application.
prince87
this application we have deployed in JBOSS server and yes it is always running as it is a multi user application.
Is there any way that we can have birt service always up and running so that component initialisation will not take much time.
I will work on the singleton for engine/platform and will check whether it have any good effect on report generation time.
mwilliams
Sounds good. This example might help you out:
http://wiki.eclipse.org/Servlet_Example_(BIRT)_2.1
prince87
Thanks Williams!
Servlet part might help..
mwilliams
No problem. Let me know if you have troubles.