Skip to content

Latest commit

 

History

1 Commit

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple PHP Profiler

A very simple PHP profiler for debugging small code blocks inside project or test scripts to promote performance

Install

Use composer

Usage

\Profiler\Profiler::start();
for ($i = 0; $i < 100000; $i++) $array[] = $i + 10;
$results = \Profiler\Profiler::end();

echo $results['time'], // in seconds
    PHP_EOL,
    $results['memory'], // in bytes
    PHP_EOL;

About

Simple PHP Profiler

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages