Hi All,

In this Blog, I would like to show you, how to measure the Performance of Design Studio Application and breakdown the steps.

This is also mentioned in SAP Note 2162616. But here I am showcasing with an example.

Before that, please be aware of these terms,

  • Design Studio Processing Time – Net time spent by Design Studio processing excluding Remote, Platform Overhead, and Residual Time
  • Remote Time – Time spent for data retrieval on HANA or BW backend systems. UNX systems are not covered by this procedure yet
  • Platform Overhead Time – Time spend on BIP or NW platform
  • Residual Time – Network, latency, JavaScript processing, CSS parsing, HTML rendering, etc.
  • Total Time – Total of the above times

Prerequisites :

  • Design Studio 1.5
  • Design Studio application deployed on platform (BIP or NW)
  • Browser (Internet Explorer, Chrome, etc.)
  • Fiddler (HTTP traffic monitor)
  • Microsoft Excel

Here are the Steps :

1. Start Fiddler (You can download from http://www.telerik.com/download/fiddler/fiddler4)

Capture_1.JPG

2. In Design Studio, capture the URL of the application which you designed, through the following step

Capture_2.JPG

3. Copy the URL into the browser and add “&PROFILING=X” at the end of the URL in the browser and hit enter


Capture_3.JPG

4. Wait until the Design Studio application has been completely rendered in the browser

Capture_4.JPG

5. In the Fiddler log, select all HTTP requests of the Design Studio HTTP traffic

Capture_5.JPG

6. In Fiddler, select the “Statistics” tab and write down the value of “Sequence (clock) duration”. This is the Total Time of the Design Studio application (T1) which is 6.092 seconds

T1 = 6.092 seconds

Capture_6.JPG

7. In the Fiddler log, select all HTTP requests up to the first HTTP request containing the string

“/zenwebclient/” in its URL for the BIP platform

“/com.sap.ip.bi.designstudio.nw.portal.launcher/” in its URL for the NW platform

And note down the “Sequence (clock) duration”. This is the Platform Overhead Time (T2)

T2 = 1.332 seconds

Capture_7.JPG

8. In the Profiling dialog, select the “Java Statistics” tab and click the “Download as CSV” button and download the statistics results

Capture_8.JPG

9. Open the downloaded file in Microsoft Excel

Capture_9.JPG

10. In Microsoft Excel, activate filtering by selecting “Home > Sort & Filter > Filter” and locate the column “Type” and apply the filter value “STEP”

Capture_10.JPG

11. Locate the column “Net Runtime” and add all but the last value in this column. Write down this value. This is the Design Studio Processing Time (T3) . The last value is caused by the button click and therefore discarded

T3 = 4145 ms or 4.145 seconds

Capture_11.JPG

12. Locate the column “Counter” and add all but the last value in this column. Write down this value. This is the Remote Time (T4). The last value is caused by the button click and therefore discarded.

T4 = 0

Capture_12.JPG

13. Calculate the Residual Time (T5). [T5 = T1 – T2 – T3 – T4]

14. With the values T1 to T5 you can break down the result of your performance measurement as follows:

Capture_13.JPG

If you want to measure the performance of a Design Studio application with an empty browser cache you must clear the browser cache before you start the measurement procedure

Hope this help you :-).

Please share your comments.


Rgds,

Murali

To report this post you need to login first.

4 Comments

You must be Logged on to comment or reply to a post.

  1. Anand Kumar

    Hi,

    Please can you check SAP Note :2162616. I am getting error message.

    Thanks.

    Rgerads,

    Anand

    (0) 
  2. Ajinkya Shinde

    Hi Muralikrishnan,

    Firstly, thanks for the informative blog post. I have implemented the steps mentioned by you .However, I am getting residual time (t5)  as -ve . Below are the statistics of my dashboard :-

    Details Time
    Design Studio Processing Time (T3) 10.098 sec
    Remote Time (T4) 7.724 sec
    Platform Overhead Time (T2) 33.124 sec
    Total Time of the Design Studio application (T1) 34.986 sec
    Residual Time (T5) -15.96 sec

     

    can you please explain why I am getting the value as negative.Below is what I am getting in the CSV file

     

     

    Thanking You.

     

    Regards,

    Ajinkya Shinde

    (0) 

Leave a Reply