amanangira / script-execution-time
A library to calculate time taken for a script to execute.
Installs: 10
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/amanangira/script-execution-time
This package is auto-updated.
Last update: 2025-09-29 02:14:30 UTC
README
A library to calculate time taken for a script to execute.
Example
$runTime = new ExecutionTime;
$runTime->startTime();
sleep( 2 );
$runTime->endTime();
echo "Time taken to run in seconds: " . $runTime->getTime();