oracle / opengrok

OpenGrok is a fast and usable source code search and cross reference engine, written in Java
http://oracle.github.io/opengrok/
Other
4.34k stars 745 forks source link

opengrok loading and rendering of page is taking time #3132

Open sreehari83 opened 4 years ago

sreehari83 commented 4 years ago

opengrok landing page is taking long time around (23sec) and config file has around 16 projects.

opengrok-1.3.9.tar.gz jdk 1.8 apache-tomcat-9

Allocated to Java memory:

-Xms8000m -Xmx32000m

but same projects are loading very faster in older version of opengrok 0.13

Screen Shot 2020-04-29 at 2 29 54 PM
vladak commented 4 years ago

Could you post some data from the Web developer console (in Firefox) so that we can see the breakdown ?

sreehari83 commented 4 years ago
Screen Shot 2020-05-04 at 10 29 00 PM
sreehari83 commented 4 years ago
Screen Shot 2020-05-04 at 10 31 14 PM
sreehari83 commented 4 years ago

repo.jspf is taking time to complete. Now App is loading with in 2 sec after removing the repo.jspf

vladak commented 4 years ago

The green bar that occupies the majority of time for the /source means 'receiving' so either the network is slow (you might want to investigate how to send the pages in compressed form) or the JSP processing itself takes long time (or both).

vladak commented 4 years ago

How did you find it was repos.jspf causing the problem ?

vladak commented 4 years ago

Also, do you have authorization set up ?