Timing information of JSP’s in a page

If you want to see the time taken by the jsp on a page in CQ, then include the below component at the end (just before </body>) body.jsp of a template page component.

<cq:include path=“timing” resourceType=“foundation/components/timing”/>

What it will do is, it will create a link to the google api chart in the source of the page (see the screen shots below), copy that link and open in a new window, you will see the timing information:

source

 

The result will be like:

timing_jsps

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s