2017 © Pedro PelĂĄez
 

symfony-bundle benchmark-bundle

Show benchmark functions, apis, controlers, etc

image

izquierdogalan/benchmark-bundle

Show benchmark functions, apis, controlers, etc

  • Friday, June 19, 2015
  • by izquierdogalan
  • Repository
  • 1 Watchers
  • 2 Stars
  • 23 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

Intro to BenchmarkBundle

This Bundle provides @Benchmark annotation for symfony 2 for show log with a duration time process a determinated function or controler. This bundle required JMSAopBundle., (*1)

Build Status , (*2)

Installation and configuration:

Get the bundle

Add to your composer.json file :, (*3)

composer require izquierdogalan/benchmark-bundle

Add BenchmarkBundle to your application kernel

``` php <?php, (*4)

// app/AppKernel.php
public function registerBundles()
{
    return array(
        // ...
        new JMS\AopBundle\JMSAopBundle(),
        new Easys\BenchmarkBundle\EasysBenchmarkBundle(),
        // ...
    );
}
## Add in your config.yml

jms_aop: cache_dir: %kernel.cache_dir%/jms_aop, (*5)

## Usage examples:

You must use in controller or simple function allowed in methods:

``` php
<?php

/**
   * @Route("/{page}", name="home", defaults={"page": 1}, requirements={"page": "\d+" }, methods = { "GET" })
   * @Benchmark(description="Load index page.")
   */
  public function indexAction($page)
  {
    return $this->render('EasysVideoPortalBundle:Orbit:Pages/index.html.twig');
  }

The Versions

19/06 2015

dev-master

9999999-dev https://github.com/izquierdogalan/BenchmarkBundle

Show benchmark functions, apis, controlers, etc

  Sources   Download

MIT

The Requires

 

by Jonathan Izquierdo GalĂĄn

api benchmark monitorization

13/06 2015

1.0.0

1.0.0.0 https://github.com/izquierdogalan/BenchmarkBundle

Show benchmark functions, apis, controlers, etc

  Sources   Download

MIT

The Requires

 

by Jonathan Izquierdo GalĂĄn

api benchmark monitorization