Skip to content

jon-ht/PixersDoctrineProfilerBundle

 
 

Repository files navigation

PIXERS Doctrine Profiler Bundle

Build Status Latest Stable Version Total Downloads License SensioLabsInsight

PixersDoctrineProfilerBundle enables new panel in Symfony debug toolbar that allows you to profile performance of your database queries.

It provides extensive information about Doctrine queries execution time and memory. It also allows you to spot inefficient places of your application by showing hot spots in a call graph.

Features:

  • Detailed query profile

    • Memory usage
    • Cache info
    • Duplicated queries detection
  • Hydration profiling

    • Type and time of hydration
    • Visualization in performance panel (execution timeline)
  • Query origin

    • Call graph with metrics aggregated across code
    • Stacktrace of the queries

Installation

Installation is a two step process.

  1. Install this bundle using Composer:

    $ composer require pixers/doctrine-profiler-bundle
  2. Enable bundle in AppKernel (only in dev and test environments):

    // in AppKernel::registerBundles()
    
    if (in_array($this->getEnvironment(), array('dev', 'test'))) {
        // ...
        $bundles[] = new Pixers\DoctrineProfilerBundle\PixersDoctrineProfilerBundle();
    }

Screens

Toolbar:

Toolbar

Call graph:

Call graph

Queries:

Table

Stacktrace:

Stacktrace

About

DoctrineProfilerBundle is an initiative of PIXERS:

License

Copyright 2017 PIXERS Ltd - www.pixersize.com

Licensed under the BSD 3-Clause

About

Profile performance of your Doctrine's database queries

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 59.6%
  • HTML 40.4%