Skip to main content



      Home
Home » Archived » BIRT » report execution time(report execution time)
report execution time [message #1690139] Wed, 25 March 2015 09:12 Go to next message
Eclipse UserFriend
Hi,

I need to show the process time in a BIRT report.
Is there an easy way to make this possible.
The start time of the report is not a problem, but how can I get the end time.
Thanks for any solution.

Regards
Re: report execution time [message #1690214 is a reply to message #1690139] Wed, 25 March 2015 13:17 Go to previous messageGo to next message
Eclipse UserFriend
I think if you logged time stamps from the initialize and the afterRender scripts, you'd have a pretty good idea. If you're running from Java, you could capture a timestamp before and after the engine task runs.
Re: report execution time [message #1690366 is a reply to message #1690214] Thu, 26 March 2015 18:13 Go to previous message
Eclipse UserFriend
Hi,

For this i think beforeFactory could be better than initialize script to get the startup time, because initialize might be triggered twice (run + render). I achieved something similar:
- in beforeFactory script, set current time in millisec to a global persistent variable
- retrieve the persistent variable in afterRender, and substract it to the new current time in millisec
- log the result to a file from afterRender script

I had also added a step in beforeRender script to get "run" and "render" durations separately.

As far as i remember the tricky part was the value retrieved from a persistent var had to be parsed to be used as a number

[Updated on: Thu, 26 March 2015 18:14] by Moderator

Previous Topic:working examples pie chart, line chart
Next Topic:Xerox printer driver issue on BIRT server while printing a document
Goto Forum:
  


Current Time: Mon Mar 17 08:29:25 EDT 2025

Powered by FUDForum. Page generated in 0.02717 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top