I have created one report in jasperserver. When I run this report in jasperserver admin panel, it is taking 90 seconds, but when the same report I am executing using visualize.js in my web page it is taking 5 minutes. So how can I reduce execution time in visualize.js ?
Try using FireBug or Chrome developer tool to see if there is any issues in the transport or network when running trough visualize.js. That may be the cause if the report has some big binaries that need to be loaded like images or other bolobs.
Are you running Visualize.js page on the same tomcat instance as JasperReports Server (i.e. putting the html file under webapps\ROOT)?
Also, do you have anything beside Visualize.js in the html page?
When the Visualize.js page is first opened, there is an overhead of downloading the Visualize.js script. Try Refreshing the page to see if it still requires 5 minutes.