Analyzing the Portlet Performance in liferay


Set the following log in the tomcat/lib/META-INF/portal-log4j-ext.xml

<category name="com.liferay.portlet.InvokerPortletImpl">
       <priority value="DEBUG" />
    </category>

This will cause the performance of each portlet render to be logged, for example: 
  • render for welcomeportlet_WAR_welcomeportlet takes 1 ms
  • render for employmentportlet_WAR_linksportlet takes 80 ms

Comments

Popular posts from this blog

Theme display in javascript

How to know which liferay version we are using

Viewing the SQL Query in liferay : debugging the SQL Query in Hibernate