arabcoders / profiler
Profiler Library Abstraction
v1.5.0
2016-08-19 16:50 UTC
Requires
- php: >=7.0
Requires (Dev)
- phpunit/phpunit: ^5.5
Suggests
- ext-tideways: dev-master
- ext-uprofiler: dev-master
- ext-xhprof: dev-master
README
Profiler Library Abstraction
Install
Via Composer
$ composer require arabcoders/profiler
Usage Example.
<?php require __DIR__ . '/../../autoload.php'; $provider = new \arabcoders\profiler\Providers\Tideways(); $handler = new \arabcoders\profiler\Handlers\FileHandler( '/dir/to/save/to' ); $profiler = new \arabcoders\profiler\Profiler( $provider, $handler ); $sampler = new \arabcoders\profiler\Sampler( $profiler, 0, 1 );