pixers/doctrine-profiler-bundle

PIXERS Doctrine profiler bundle

Installs: 152 138

Dependents: 0

Suggesters: 0

Security: 0

Stars: 48

Watchers: 9

Forks: 10

Open Issues: 5

Type:symfony-bundle

v1.0.8 2019-09-14 20:07 UTC

This package is auto-updated.

Last update: 2024-03-27 15:09:10 UTC


README

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