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
Post a Comment