DJVUpp / Desktop

Java desktop client
GNU General Public License v3.0
3 stars 2 forks source link

Optimize viewer and utilities module #12

Closed samehissam closed 8 years ago

samehissam commented 8 years ago

1- Comment code using java doc. 2- What is the main problems that take much time in execution. 3- Try to solve this problems with available code. 4- If no change in performance change the available code with other that achieve your goal.

digitamo commented 8 years ago

thumbnails performance report

Overall notes and opinions:

digitamo commented 8 years ago

Page Viewer Report

digitamo commented 8 years ago

Page Viewer Report

digitamo commented 8 years ago

Decreasing heap size report:

By default the min and max heap sizes is are 40%, 70% in order, Although you can change this but it's done by changing the JVM parameters in every machine that runs the application.

So a couple of spare mega bytes doesn't worth the effort or the time, And also using this solution may actually slow down other operations that uses a lot of memory suddenly.

digitamo commented 8 years ago

Lagging Report:

commit : 31c48fe5580abdc3c057b51380fc1c0e0bf6cd68