NetTalk Central

Author Topic: Tracing down slow processes  (Read 3336 times)

terryd

  • Hero Member
  • *****
  • Posts: 759
    • View Profile
    • Davcomm
    • Email
Tracing down slow processes
« on: July 13, 2016, 12:49:41 AM »
I have the attached performance breakdown on one of my applications.
Is there a way to establish from within Nettalk what procedures are causing the delays in the <5 group.
I am hoping somewhere in webhandler where these values are calculated is the place.
Terry Davidson
Windows 10 64 bit/Windows7 64bit
Clarion 9.1.11529/Clarion10 12567
Nettalk 913
Nettalk 1015
StringTheory267/Winevent515/XFiles298/MessageBox239/Cryptonite186

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11244
    • View Profile
Re: Tracing down slow processes
« Reply #1 on: July 13, 2016, 11:24:52 PM »
Note this is for build 9.12 (which you don't have yet.)

The embed point would be in WebHandler, in the
.PerfEndThreadTime method, after the parent call. The value returned from the parent call is the time taken.

at that point you can use one of;

  ! self.UserURL          ! contains page name and relative path, no parameters
  ! self.RequestFileName  ! contains page name and full local path, no parameters
  ! self.PageName         ! contains page name with no path
  ! self.WholeURL         ! contains pagename and parameters (no path)
  ! self.RequestHost      ! contains the site name as used on the url.

and log as you wish.

cheers
Bruce

terryd

  • Hero Member
  • *****
  • Posts: 759
    • View Profile
    • Davcomm
    • Email
Re: Tracing down slow processes
« Reply #2 on: July 14, 2016, 01:47:36 AM »
Thanks Bruce.
Sounds just what I need.
Terry Davidson
Windows 10 64 bit/Windows7 64bit
Clarion 9.1.11529/Clarion10 12567
Nettalk 913
Nettalk 1015
StringTheory267/Winevent515/XFiles298/MessageBox239/Cryptonite186