1. Yuri Denshchik
  2. PowerBuilder
  3. Friday, 30 March 2018 18:35 PM UTC

We experience slow performance on some of the machines when executing HttpClient SendRequest("GET",...) For example, on one machine the method runs in fraction of a second and on another machine the same call takes about 5-6 seconds. There is no delay when requesting the same URL from Web Browser on machine with slower performance. There is no difference in performance when running from PB IDE or from compiled app.  

Where could be the issue? Is there a way to trace SendRequest method ?

Thank you,

Yuri

 

Alfredo Aldama Accepted Answer Pending Moderation
  1. Tuesday, 3 April 2018 18:55 PM UTC
  2. PowerBuilder
  3. # 1

Hi,

You cannot edit a native class in the PowerBuilder development environment, and you cannot enter native methods in the PowerBuilder debugger because the methods are C++ methods. You must use a C/C++ debugger to debug an extension module.

However, I hope this can help you, you could see the real time the method took, or if it is another routine where time consumes

1.- To do a Trace on PB go to option Tools  from Main Menu ->  click on System Options -> and click on Profiling , check activities to trace and the others parameters like filename.

2.- Go to File New -> Select Tool [ Profiling Class View | Routine View | Trace View ] and use the file created in the previos step

Regards !

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.