Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
PUBLIC CLOUD
PRIVATE CLOUD
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Intelligence (Analytics)
time taken by birt report to run ??
sandeepBha
Hi All,
how can i know that how much time is taken by birt viewer to run a report.
is there any method to find out the time taken by a birt report to run.
scenario ::
when we click a show report button than birt viewer will run and report is saw.
I want to know the exact time taken in this process by birt viewer.
please reply soon
thanks in advance
Find more posts tagged with
Comments
mwilliams
Hi sandeepBha,
I would assume you could write out the current time to a log file when certain events in the report design occur.
sandeepBha
Hi mwilliams,
thanks for ur reply .
I can write out the time in log file when i click show report button and this is my start time but how can i get the end time (means when report's run processing complete).
how can i read log file in birt designer.
reply soon
sandeep
johnw
Take a look at the following webinar:<br />
<br />
<a class='bbc_url' href='
http://www.birt-exchange.org/modules/wfdownloads/visit.php?cid=2&lid=371'>http://www.birt-exchange.org/modules/wfdownloads/visit.php?cid=2&lid=371</a><br
/>
<br />
It will give you a code snippet in one of the slides that tells you how to write out to a log file so you can benchmark performance.<br />
<br />
John
sandeepBha
hi
thanks john for ur reply.
but this code is for write out in log file , i want how to read log file in birt .
actually i want to write out date time in log file when report is started running and again when completed (two times)
than i want to read those log file and differentiate that date time called delay time , that delay time i want to display in my report.
please reply soon
sandeep
johnw
I don't think you can. You would need to modify your report design in the afterFactory method. I'm not sure that the design edits will show at that phase.
Take a look at some of the DE API examples, and move the code from the beforeFactory to afterFactory. If they still work, then its just a matter of getting the start time and end time of report execution, and dynamically adding a text element with that value.