RE: Performance issue with custom portlet under control panel

thumbnail
Alexandr Kozhin, modified 6 Years ago. New Member Posts: 17 Join Date: 2/16/17 Recent Posts

I have custom portlet, it shows records from database.

If I put it under control panel I have performance issue - looks like request wait something. Business logic works fast (<100ms), but page rendered 5-10s.

In the same time same portlet on site working extremly fast.

No idea what what happens (additional calls or another magic or whatever).

No idea. Please help.

thumbnail
Amos Fong, modified 6 Years ago. Liferay Legend Posts: 2047 Join Date: 10/7/08 Recent Posts

What I would check first is the browser console to see if there are any javascript issues or if it's waiting a long time to load a resource.

If it's the server that's taking a long time, taking some thread dumps while it's processing should tell you what it's doing.