Performance issue

Avatar

Avatar

manojk976698

Avatar

manojk976698

manojk976698

23-01-2020

Hi folks,

 

I am facing performance issue on some of the pages of our site build on AEM 6.4. Pages are taking a lot of time to load on browser. Please suggest any solution for this.

 

Thanks 

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar

aemmarc

Employee

Avatar

aemmarc

Employee

aemmarc
Employee

23-01-2020

1) Try capturing some thread dumps to understand what server side processing is happening. Use this script here : https://github.com/cqsupport/jstackSeries.sh

 

2) If the performance issue is specific to page load times you can also capture a HAR file of the network traffic in the web browser to understand the various calls that get made. 

 

3) You can always use the Profiler at /system/console/profiler and collect data while the page is loading. It will give you a percentage of how much time was spent during capture in various parts of code. 

 

4) You can go to /system/console/requests and see the GET request for that page. If you expand on the request you'll see a microsecond break down of how that request was handled. (EG the numbers on the far left are microseconds of time elapsed)  Where you see huge jumps in the time that is where it spent time computationally

 

There's many ways to troubleshoot this -- hope this helps

 

Good luck.

Answers (2)

Answers (2)

Avatar

Avatar

dwhuntley1515

Avatar

dwhuntley1515

dwhuntley1515

23-01-2020

Context Hub can be a beast to load.   If your not using context hub consider turning it off.   Fairly easy to do.  Can  save around 2 seconds in page load.   More info from Adobe.

https://helpx.adobe.com/gr_en/experience-manager/6-4/sites/administering/using/contexthub-config.htm...

 

contexthub.jpg

 

Avatar

Avatar

Nirmal_Jose

MVP

Avatar

Nirmal_Jose

MVP

Nirmal_Jose
MVP

23-01-2020

Hi,

 

You can go into developer mode in editor view of a page to get a view of which node is taking time to load.

 

Screenshot_2020-01-23_at_12_06_35.png

Most of the times, clientlibs and how JS is used is the culprit for bad performance on the page. Another excellent way of debugging is to use Google light house audit on the webpage using Chrome and go through the suggestions