Chart render performance [message #486346] |
Thu, 17 September 2009 11:43 |
Eclipse User |
|
|
|
Originally posted by: abfall.clever.ms
Hi everybody,
I got a performance problem when i try to render a birt chart:
when i render the chart on my development machine it just takes 0,25
seconds; on the server it takes about 80 seconds.
I have really no idea what might be the problem.
The server is a sun4v sparc SUNW,Sun-Fire-T200
with 6 cores/4 threads = 24 "cpu's" and 1 shared fpu with 16 Gbyte
physical RAM
http://dlc.sun.com/pdf/819-4500-12/819-4500-12.pdf
Might it be a problem that it shares only one floating point unit among
those cores ?
Is there maybe a way to avoid/reduce floating point calculations while
rendering the chart ?
Any help or idea what might be the problem would be great. THX.
Attached log entries and the corresponding lines of code.
Server logs:
16.09.2009 16:54:31,984 DEBUG TESTWebReportBean:357 generateBirtReport()
- Start to render html output
16.09.2009 16:55:54,258 DEBUG TESTWebReportBean:382 generateBirtReport()
- Finished render task. Try to locate chart images
Development machine logs:
16.09.2009 12:40:25,901 DEBUG WebReportBean:482 generateBirtReport() -
Start to render html output
16.09.2009 12:40:26,167 DEBUG WebReportBean:499 generateBirtReport() -
Finished render task. Try to locate chart images
Code lines:
mLogger.debug("Start to render html output");
HTMLRenderOption lHtmlOptions = new HTMLRenderOption();
ReportImageHandler lHtmlImageHandler = new ReportImageHandler();
lHtmlOptions.setImageHandler(lHtmlImageHandler);
lHtmlOptions.setOutputFileName(lBirtHtmlOutput + "/" + lHtmlOutputFile);
lHtmlOptions.setEmbeddable(true);
lHtmlOptions.setOutputFormat(HTMLRenderOption.OUTPUT_FORMAT_ HTML);
lHtmlOptions.setBaseImageURL(lBirtReportImages);
lHtmlOptions.setImageDirectory(lBirtReportImages);
lRenderTask.setRenderOption(lHtmlOptions);
lRenderTask.render();
lRenderTask.close();
mLogger.debug("Finished render task. Try to locate chart images");
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03565 seconds