PHPackages                             codon/profiler - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Debugging &amp; Profiling](/categories/debugging)
4. /
5. codon/profiler

AbandonedArchivedLibrary[Debugging &amp; Profiling](/categories/debugging)

codon/profiler
==============

A PHP 5.4+ profiling/benchmarking tool

1.0.0(13y ago)102171[1 issues](https://github.com/nshahzad/codon-profiler/issues)MITPHPPHP &gt;=5.4.0

Since Aug 16Pushed 13y ago1 watchersCompare

[ Source](https://github.com/nshahzad/codon-profiler)[ Packagist](https://packagist.org/packages/codon/profiler)[ Docs](https://github.com/nshahzad/codon-profiler)[ RSS](/packages/codon-profiler/feed)WikiDiscussions master Synced 3d ago

READMEChangelogDependenciesVersions (2)Used By (0)

Codon/Profiler
==============

[](#codonprofiler)

A PHP 5.4+ profiling class, loosely based on the PEAR Benchmark package.

- **Author:** Nabeel Shahzad
- **Homepage:**
- **Github:**
- **Packagist:**
- **License:** MIT
- **Version:** 1.0

Current to-do list:

- Console colors to show the fastest test runs
- Show percentage differences between runs
- Use the Vulcan Logic Dumper () to allow you to see opcode differences

Installation
============

[](#installation)

Add to your composer.json file:

```
"require": {
    "codon/profiler": "*"
}

```

Then run the composer update

```
./composer.phar update
```

Basic Usage
===========

[](#basic-usage)

This class extensively uses closures, and all of the methods (except for getResults) are chainable. Declare a new Profiler class:

```
