https://github.com/r0mb0/count_execution_time_classic_asp
Class to count the execution time of a part of script.
https://github.com/r0mb0/count_execution_time_classic_asp
asp-classic class classic-asp count-execution-time count-script-execution execution-time italian-developers library r0mb0 script-execution seconds
Last synced: about 12 hours ago
JSON representation
Class to count the execution time of a part of script.
- Host: GitHub
- URL: https://github.com/r0mb0/count_execution_time_classic_asp
- Owner: R0mb0
- License: mit
- Created: 2025-02-20T07:07:00.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-07-21T14:15:37.000Z (8 months ago)
- Last Synced: 2025-10-23T05:52:18.151Z (5 months ago)
- Topics: asp-classic, class, classic-asp, count-execution-time, count-script-execution, execution-time, italian-developers, library, r0mb0, script-execution, seconds
- Language: Classic ASP
- Homepage:
- Size: 19.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- Funding: .github/FUNDING.yml
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
- Citation: CITATION.cff
- Security: SECURITY.md
- Support: SUPPORT.md
Awesome Lists containing this project
README
# Count execution time in Classic ASP
[](https://app.codacy.com/gh/R0mb0/Count_execution_time_classic_asp/dashboard?utm_source=gh&utm_medium=referral&utm_content=&utm_campaign=Badge_grade)
[](https://github.com/R0mb0/Count_execution_time_classic_asp)
[](https://github.com/R0mb0/Count_execution_time_classic_asp)
[](https://opensource.org/license/mit)
[](http://paypal.me/R0mb0)
## `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
```asp
<%@LANGUAGE="VBSCRIPT"%>
<%
Dim time
Set time = new count_execution_time
```
2. Set the starting time
```asp
time.set_start_time()
```
3. Retrieve the execution time
```asp
Response.write(time.get_execution_time())
%>
```