Skip to content

R0mb0/Count_execution_time_classic_asp

Repository files navigation

Count execution time in Classic ASP

Codacy Badge

Maintenance Open Source Love svg3 MIT

Donate

count_execution_time.class.asp's avaible functions

  • Set the starting time for counting execution time -> Public Function set_start_time()
  • Retrieve the execution time at the moment -> Public Function get_execution_time()

    The time is retrieved in seconds

How to use

From Test.asp

  1. Initialize the class
    <%@LANGUAGE="VBSCRIPT"%>
    <!--#include file="count_execution_time.class.asp"-->
    <%
       Dim time
       Set time = new count_execution_time
  2. Set the starting time
    time.set_start_time()
  3. Retrieve the execution time
      Response.write(time.get_execution_time())
    %>
Not made by AI

Releases

No releases published

Sponsor this project