Forum Discussion

official_raghu's avatar
official_raghu
Occasional Contributor
11 years ago
Solved

Capturing milliseconds' difference between events

Hi, We are involved in performance testing of a .net application, wherein we need to find the time gap between the start and end of an event. We are using aqDateTime.Now at the start and end of...
  • karkadil's avatar
    11 years ago
    Well, I lied, I didn't search properly first :)



    The solution for VBScript looks like this




    Dim tFrom, tTo, tDif


      


      tFrom = Timer


      aqUtils.Delay 100


      tTo = Timer


      tDif = Int((tTo-tFrom) * 1000)


      Log.Message tDif