Home
Designing Analytics Reports
Timing a data set
PuckPuck
I have a report in which I want to investigate the time spent doing specific operations, to see if there is room for improvement for performance.
I want to put timings, in and around the data set, open/fetch/close. What is the best approach to add timed debug output statemetns for these methods?
Find more posts tagged with
Analytics
reports
#BIRT
Comments
rmurphy
PuckPuck,<br />
You have a couple different options that I can think of. <br />
<br />
Using the BIRT Viewer set the logging level to a lower level than Warning. If you are previewing this using the web viewer inside the designer, you can set this in plugins/org.eclipse.birt.report.viewer_<version>/birt/WEB-INF/web.xml and set the BIRT_VIEWER_LOG_LEVEL. Obviously setting to Finest will get you the most information. If you using the report engine API instead of the viewer, you can also set the logging level on engine by calling teh changeLogLeve(Level newLevel) method.<br />
<br />
Using either script events or Java events, you can implement logging. There is an example of this posted at <a class='bbc_url' href='
http://wiki.eclipse.org/Logging_The_Events_-_Show_the_Typical_Log_Stack_(BIRT)'>http://wiki.eclipse.org/Logging_The_Events_-_Show_the_Typical_Log_Stack_(BIRT)</a><br
/>
<br />
Rob