Acceleration jasperreports

I just profiled the reporting application when I tried to create the same report four times in a row. the first took 1859 ms, while the next only took between 400 and 600 ms. what is this explanation for? could i somehow use it to speed up my application? the reporting module runs on the server and waits for the user to click "print report".

+3
source share
1 answer

Subsequent runs of the report expanded memory and filled various caches.

Having never seen your application, my assumption would be the biggest effect in the fact that your database server caches the data you request. It loads data from disk and into memory and has nothing to do with this memory; it leaves it there. The next time the request goes, the database should not go to the data disk, it is still there in memory.

"" , ; , 1800 , 400. , , , .. . , , .

: , , .

+3

Source: https://habr.com/ru/post/1755504/


All Articles