Skip to content

ogzcakar/basic-process-time

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BasicProcessTime

Description : The "BasicProcessTime" class allows you to see how long the processes you write work.

Installation

composer require ogzcakar/basic-process-time

Usage

To print the processing time on the screen

<?php

processTime('testKey');

for ($i = 0; $i <= 200000000; $i++){}

echo processTime('testKey');

Or if you want to log the processing time

<?php

processTime('testFile');

for ($i = 0; $i <= 200000000; $i++){}

processTime('testFile', 'fileName.txt'); // Or echo processTime('testFile', 'fileName.txt');

For Help and Contact

Mail : ogzcakar@gmail.com

About

The "BasicProcessTime" class allows you to see how long the processes you write work.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages