Skip to content
No description, website, or topics provided.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Benchmark.php
README.md
index.php

README.md

simplebenchmark

What does this class do?

Records how many milliseconds have transpired and how much memory has been consumed between 'markers' you put in your code wherever you want. Output results in a few different formats.

What does this class not do?

Tracing, profiling or watching. For that, I recommend XDebug.

Why would I use this class and not XDebug or something else?

This class was developed for those cases where you just want to know the basic time and memory consumption of some PHP code without the hassle of installing server software and configurations.

See the index.php for example usage.

You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.