Timing a data set
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?
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?
Warning
No formatter is installed for the format ipb
0
Comments
-
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 />
Rob0
Categories
- All Categories
- 107 Developer Announcements
- 53 Articles
- 104 General Questions
- 141 IM Services
- 43 OpenText Hackathon
- 32 Developer Tools
- 20.6K Analytics
- 4.1K AppWorks
- 8.9K Extended ECM
- 898 Cloud Fax and Notifications
- 76 Digital Asset Management
- 9.3K Documentum
- 29 eDOCS
- 118 Exstream
- 39.8K TeamSite
- 1.7K Web Experience Management