WebCenter 11.1.1.8 Performance Analysis Feature

Introduction

Performance Analysis of a Portal application is an area that is usually time consuming, since the typical portal is made up of numerous distinct task flows. The traditional approach relies on testing task flows in isolation and trying to gauge the performance impact each task flow makes to a page. With WebCenter Portal 11.1.1.8 however, this process becomes extremely simple and efficient.

Main Article

WebCenter Portal 11.1.1.8 has an internal flag that customers can turn on, to show the performance of each ShowDetailFrame on the page. Since ShowDetailFrames enclose task flow regions on a page, this feature lets you instrument WebCenter pages on the basis of individual task flows. When enabled, you can visually analyze the performance of every single task flow on the page like this:

WebCenter Portal Performance Analysis

The feature is disabled by default, and users should take care to keep this disabled on their production instances, since exposing this debug information may not be desirable. Enabling the feature is done through MDS customization, so there is no need to restart the servers when enabling or disabling the feature.

In order to enable/disable this feature, customer needs to use exportMetaData/importMetadata in WLST to modify webcenter-config.xml.

For example:

Assuming /tmp/WCconfig exists:

exportMetadata(application=’webcenter’, server=’WC_Spaces’, toLocation=’/tmp/WCconfig’, docs=’/oracle/webcenter/webcenterapp/metadata/webcenter-config.xml’)

This creates the file webcenter-config.xml in the path /tmp/WCconfig. Now we can edit the file and set perfdebug-enabled element to true or false:

<webcenter:perfdebug-enabled>true</webcenter:perfdebug-enabled>

Now we can import the configuration file:

importMetadata(application=’webcenter’, server=’WC_Spaces’,fromLocation=’/tmp/WCconfig’, docs=’/oracle/webcenter/webcenterapp/metadata/webcenter-config.xml’)

Once this is done, any page in WebCenter Portal 11.1.1.8 can be instrumented. To instrument a page, simply append ‘perfDebug=on’ to the end of the URL to the page.

debug preference

When the page loads, the page will report the overall performance of each ShowDetailFrame on the page. The property is saved in the current session. If you want to disable it simply append perfDebug=off on the end of the URL link.

For more information, see the documentation under “How to Identify Slow Page Components“:
http://docs.oracle.com/cd/E29542_01/webcenter.1111/e27738/wcadm_trouble.htm#WCADM12929

The one caveat for this method to work, in the Task Flow binding properties, the Task Flow activation should be set to deferred (which is the default in 11.1.1.8).

Add Your Comment