2017 © Pedro Peláez
 

library squille

A toolsuite for PHP interactive performance profiling

image

burdz/squille

A toolsuite for PHP interactive performance profiling

  • Thursday, October 15, 2015
  • by lanfisis
  • Repository
  • 1 Watchers
  • 1 Stars
  • 0 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

A toolsuite for PHP interactive performance profiling., (*1)

Description

The purpose of this tool is clearly not to profile your application at regular interval on production server (yeah, I mean like Blackfire.io or Tideways).
The goal of this tool is to help you develop your PHP application the right way with the less effort to access run informations. Modularity allows you to add your own collector or to choose the most convenient output in your development stack. But you can let the magic appends and use the Chrome extension with just one line into your own code., (*2)

How it works

Basically you can use the profiler like this:, (*3)

use Burdz\Squille\Profiler;
use Burdz\Squille\Profiler\Output\FileOutput;
use Burdz\Squille\Profiler\Output\Formater\JsonFormater;
use Burdz\Squille\Profiler\Collector\UprofilerCollector;

$output = new FileOutput('.squille', __DIR__);
$output->setFormater(new JsonFormater());

$profiler = new Profiler($output);
$profiler->pushCollector(new UprofilerCollector());

$profiler->start();

// Do something who burn a lot of CPU resources here

$profiler->stop();
$profiler->dump();

// Look at .squille file in your current folder

Licence

DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE Read term on LICENCE.md file, (*4)

The Versions

15/10 2015

dev-master

9999999-dev https://github.com/lanfisis/squille

A toolsuite for PHP interactive performance profiling

  Sources   Download

WTFPL

The Requires

 

The Development Requires

by David Buros

performance profiling