This week's book giveaway is in the Design forum.
We're giving away four copies of Design for the Mind and have Victor S. Yocco on-line!
See this thread for details.
Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how to calculate time for execution of jrxml file?

 
Kavita Kale
Ranch Hand
Posts: 34
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

currently i m working on jasper reports,
i have used ireport 2.0.2 for creation of reports.
i m facing major performance issue for exection of reports in pdf, rtf ,xls & html format.also my one report jrxml contains 5-6 subreports & each having its own query to get that data.
that's why i want to calculate time to execute the jrxml file.

can any one help me how to do that ?

thanks,
kavita
 
Ulf Dittmer
Rancher
Posts: 42967
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Generally something can be timed like this:

You'll want to run the time-consuming job a few times before timing it, so that the JVM gets warmed up.
[ September 08, 2008: Message edited by: Ulf Dittmer ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic