2017 © Pedro Peláez
 

library telltale

Statistics that help you improve application performance

image

renanbr/telltale

Statistics that help you improve application performance

  • Friday, September 20, 2013
  • by renanbr
  • Repository
  • 1 Watchers
  • 2 Stars
  • 3 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 3 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

Telltale

Build Status Dependency Status, (*1)

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)

  • Memory Peak;
  • Critical Path;
  • Slowest Calls;
  • Memory Usage Calls.

Usage

<?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)

Firebug Sample, (*5)

<, (*6)

p>, (*7)

Analysing a code snippet..., (*8)

<?php
// ignored
$telltale->start();
// analysed
$telltale->stop();
// ignored

Installation

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)

Environment Requirements

Acknowledgements

This library is inspired by Derick Rethans' tracefile analyser script and ZendServer Code Tracing., (*12)

The Versions

20/09 2013

dev-master

9999999-dev https://github.com/renanbr/telltale

Statistics that help you improve application performance

  Sources   Download

MIT

The Requires

 

by Renan de Lima

statistics performance qa tool