On April 27, 2024, our Sign-in and Create Account options will be unavailable from 9am-12pm ET. During this maintenance window, developer account access and free trial registration will be unavailable.
Timing a data set
PuckPuck
Junior Member
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?
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 />
Rob
Categories
- All Categories
- Cloud Editions
- 1 Thrust Services
- cat as link
- 1 Core SaaS Application development
- 10 Developer Announcements
- 15 General Questions
- 33.4K TeamSite
- 141 Application Governance & Archiving
- 15.2K Designing Analytics Reports
- 1K DevShare Downloads
- Core SaaS Applications
- nested parent
- 4.3K Developing Analytics Applications
- 8.8K Documentum Developer Forum
- Media Management developer
- 159 Transactional Content Processing (TCP)
- 1.7K Web Experience Management
- 55 Tempo Social
- 1 XM Fax