1. Saravanakumar Thangapandian
  2. PowerServer 2020 or older (Obsolete)
  3. Friday, 9 August 2019 11:29 AM UTC

Hi,

 

I'm using Power Builder Version 2017 R3 Build 1858.

 

There is a window in our application and it takes around 11 seconds to open from desktop version.

The same window is taking around 30 seconds to open in web version.

From PB, I have taken a trace file using Tools -> System Options -> Enable Tracing.

Can any one tell me how to take trace file in WEB? So that I can compare both file and find out where the performance is affected.

 

Regards,

Saravanan.

Marco Meoni Accepted Answer Pending Moderation
  1. Friday, 9 August 2019 13:03 PM UTC
  2. PowerServer 2020 or older (Obsolete)
  3. # 1

Hi,
there was one the performance analyzer compliance flag in the PS toolkit for tracking RPC, download ans JS.
You used to add ?performance=1 to the Web app URL and see time for each line being executed.
Now this tool has been removed.

So, first of all, I suggest now you read this doc

https://www.appeon.com/support/documents/appeon_online_help/2017/appeon_performance_tuning_guide/ch01.html

It will explain slow code usually belonging to:
1) heavy PScript
2) multiple server calls

For 1) you need to simplify legacy code (heavy menu(s) iteration, complex string manipulation, loop over nested objects on a window, resizing, etc...).
For 2) you can learn how to group independent DB requests and reduce network latency.

As time goes by, you will learn how to recognise slow code.

Best,
.m

Comment
There are no comments made yet.
Chris Pollach @Appeon Accepted Answer Pending Moderation
  1. Friday, 9 August 2019 13:04 PM UTC
  2. PowerServer 2020 or older (Obsolete)
  3. # 2

Hi Saravanan;

  PS does not support the "trace" feature like native PB App's do. Instead, have a look at the "Debug Trace" feature as listed in the PS documentation. It's activated via the AEM console application for each PS application as required.

HTH

Regards ... Chris

Comment
There are no comments made yet.
  • Page :
  • 1


There are no replies made for this question yet.
However, you are not allowed to reply to this question.