dev-master
9999999-dev https://github.com/renanbr/telltaleStatistics that help you improve application performance
MIT
The Requires
- php >=5.3.0
- ext-xdebug ~2.1
- monolog/monolog ~1.3
by Renan de Lima
statistics performance qa tool
Statistics that help you improve application performance
Statistics that help you improve application performance., (*2)
Telltale analyses current execution and provides information about potential bottlenecks in your application. Analyzes are executed by agents. Output reports are automatically sent to console of your browser. Available agents:, (*3)
<?php use Telltale\Telltale; use Telltale\Agent\MemoryPeakAgent; use Telltale\Agent\CriticalPathAgent; use Telltale\Agent\SlowestCallsAgent; use Telltale\Agent\MemoryUsageCallsAgent; // create an analyser $telltale = new Telltale(); $telltale->pushAgent(new MemoryPeakAgent()); $telltale->pushAgent(new CriticalPathAgent()); $telltale->pushAgent(new SlowestCallsAgent()); $telltale->pushAgent(new MemoryUsageCallsAgent()); // start watching $telltale->start();
Then your browser displays informations like this..., (*4)
, (*5)
<, (*6)
p>, (*7)
Analysing a code snippet..., (*8)
<?php // ignored $telltale->start(); // analysed $telltale->stop(); // ignored
Add renanbr/telltale
dependency using Composer., (*9)
php composer.phar require renanbr/telltale:~1
Or change composer.json
file..., (*10)
{ "require": { "renanbr/telltale": "~1" } }
For Composer documentation, please refer to getcomposer.org., (*11)
This library is inspired by Derick Rethans' tracefile analyser script and ZendServer Code Tracing., (*12)
Statistics that help you improve application performance
MIT
statistics performance qa tool