Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization 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
Pie
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 ]
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic