Monitoring report performance using the auditing feature in JasperReports Server is very useful in identifying slow reports and long running queries, however there is significant overhead and performance degradation when auditing is enabled. With this in mind caution should be used when enabling auditing in production environments.
The following table shows the response time of various reports and dashboards during a load test of JasperReports Server v5.5 with and without auditing enabled. As can be seen there was an overall 35% increase in response time when auditing was enabled. The tests were run with 20 virtual users on a MacBook Pro with 8 GB RAM and 4 GB heap.
Average Response Time (ms) | |||
Transaction | Without Audit | With Audit | % Difference |
Login Page | 2653 | 3053 | -13% |
Home Page | 1184 | 1094 | 8% |
View Repository | 1322 | 1334 | -1% |
AllAccounts View Report | 13738 | 22307 | -38% |
Geographic Results View Report | 15967 | 19560 | -18% |
View Customer Detail Report | 27012 | 50227 | -46% |
View Dashboard | 85187 | 124113 | -31% |
View Supermart Cusotmer Detail Report | 15246 | 26250 | -42% |
Logout | 2355 | 4843 | -51% |
TOTAL | 18296 | 28087 | -35% |
Recommended Comments
There are no comments to display.