Magento 2 Profiler

Overview

Packagist Packagist Build Status Coverage Status

Magento 2 - Debug module

Module for debugging Magento 2 performance. It works without overwriting any core files and it can be installed with composer.

Installation

  1. Enable developer mode php bin/magento deploy:mode:set developer
  2. Install module via composer composer require --dev clawrock/magento2-debug
  3. Register module php bin/magento setup:upgrade
  4. Enable profiler in configuration: Stores -> Configuration -> Advanced -> Debug

Configuration

All settings have only default scope and config type pool is set to environment for better integration with php bin/magento app:config:dump

Compatibility

  • Magento 2.2 - 2.3
  • PHP 7.0 - 7.2

Profiler collectors

  • Ajax
  • Cache
  • Config
  • Customer
  • Database
  • Events
  • Layout
  • Memory
  • Models
  • Plugins
  • Request/Response
  • Performance
  • Translations

Additional features

Credits

Comments
  • Missing required argument $prefix

    Missing required argument $prefix

    Magento: 2.2.9 CE PHP: 7.1.26

    When navigating to 'Total Time' -> 'Lay-Out' I'm getting the following error:

    Missing required argument $prefix of ClawRock\Debug\Model\ValueObject\LayoutNode.

    no reproduction 
    opened by gjportegies 2
  • Fix missing prefix exception on the layout tab

    Fix missing prefix exception on the layout tab

    Fixes "Missing required argument $prefix of ClawRock\Debug\Model\ValueObject\LayoutNode."

    Details to reproduce:

    • Profile a page with the Layout profiling enabled.
    • Navigate to the performance profile page and click the layout tab
    opened by friendscottn 1
  • Cannot see phpinfo

    Cannot see phpinfo

    InvalidArgumentException thrown with message "Invalid return type"
    
    Stacktrace:
    #6 InvalidArgumentException in /home/golaod/www/clawrock/hicron/m2/vendor/magento/framework/App/Http.php:144
    #5 Magento\Framework\App\Http:launch in /home/golaod/www/clawrock/hicron/m2/vendor/magento/framework/Interception/Interceptor.php:58
    #4 Magento\Framework\App\Http\Interceptor:___callParent in /home/golaod/www/clawrock/hicron/m2/vendor/magento/framework/Interception/Interceptor.php:138
    #3 Magento\Framework\App\Http\Interceptor:Magento\Framework\Interception\{closure} in /home/golaod/www/clawrock/hicron/m2/vendor/magento/framework/Interception/Interceptor.php:153
    #2 Magento\Framework\App\Http\Interceptor:___callPlugins in /home/golaod/www/clawrock/hicron/m2/generated/code/Magento/Framework/App/Http/Interceptor.php:26
    #1 Magento\Framework\App\Http\Interceptor:launch in /home/golaod/www/clawrock/hicron/m2/vendor/magento/framework/App/Bootstrap.php:258
    #0 Magento\Framework\App\Bootstrap:run in /home/golaod/www/clawrock/hicron/m2/pub/index.php:40
    
    
    bug 
    opened by golaod 0
  • 'Undefined index' Exeption in Helper/Database

    'Undefined index' Exeption in Helper/Database

    Module throws:

    Notice: Undefined index: ? in /var/www/magento2-projects/hughrice.magento/vendor/clawrock/magento2-debug/Helper/Database.php on line 101

    For the following query:

    SELECT COUNT(*) FROMadminnotification_inboxASmain_tableWHERE (url= 'https://amasty.com/blog/magento-extensions-updates/?utm_source=backend&utm_medium=message&utm_campaign=updates')

    I checked regex at https://regex101.com/ and it matches only question mark, see screenshot Screenshot from 2019-05-08 11-08-37

    bug 
    opened by ghost 0
  • debug pages are added to last 10 section

    debug pages are added to last 10 section

    I was able to reproduce it when I closed debug page with plugin tab enabled and then reopened it. Then when I navigated to last 10, _debug url was added to the list

    no reproduction 
    opened by golaod 0
  • Last 10 doesn't show response time

    Last 10 doesn't show response time

    It looks like this one column is missing and to be honest it's one of the most important, cause when I have few requests slower than the other, I don't remember which hash it was and url doesn't say too much if you have few same urls.

    enhancement 
    opened by golaod 0
Releases(2.1.2)
  • 2.1.2(Jan 2, 2023)

  • 2.1.1(Jan 2, 2023)

  • 2.1.0(Jan 2, 2023)

  • 2.0.3(May 22, 2019)

    What's new

    • Added request time to profile search results #5
    • More tests

    Fixes

    • Fixed database query binding replacement for strings with ? #7
    • Fixed PHP info page #8
    • Fixed allowed IPs config when empty
    • Fixed return types in config helper
    Source code(tar.gz)
    Source code(zip)
  • 2.0.2(Apr 3, 2019)

    What's new

    • Enable/disable database profiler command

    Fixes

    • Fixed issue area code not set during check if debug is enabled
    • Fixed database helper which was recognizing date as named parameter in SQL query
    • Fixed bug when database collector was enabled while db profiler was disabled
    Source code(tar.gz)
    Source code(zip)
  • 2.0.1(Jan 1, 2019)

    What's new:

    • Rewritten from scratch
    • Profile compression
    • Tests
    • Fixed minor bugs
    • Removed template hints in profiler
    • Profiler logger
    • Fixed configuration url
    • Adminhtml profiler enabled flag config
    Source code(tar.gz)
    Source code(zip)
  • 1.1.0(Dec 8, 2018)

    • Magento 2.3 compatibility
    • DB profiler is now automatically enabled when DB collector is enabled and module is active
    • Fixed wrong class type during WebApi request
    • Removed template hints from toolbar and profiler
    • Plugin data collector
    • All config settings have only default scope now and config type pool is set to environment to prevent app:config:dump dumping configuration into app/etc/config.php
    Source code(tar.gz)
    Source code(zip)
  • 1.0.0(Jan 3, 2019)

Owner
ClawRock
ClawRock
PHP Profiler & Developer Toolbar (built for Phalcon)

Prophiler - A PHP Profiler & Developer Toolbar built for Phalcon Demo The demo website has been moved to a separate repository: https://github.com/fab

Fabian Fuelling 444 Dec 27, 2022
A sampling profiler for PHP written in PHP, which reads information about running PHP VM from outside of the process.

Reli Reli is a sampling profiler (or a VM state inspector) written in PHP. It can read information about running PHP script from outside of the proces

null 272 Dec 22, 2022
A sampling profiler for PHP written in PHP, which reads information about running PHP VM from outside of the process.

Reli Reli is a sampling profiler (or a VM state inspector) written in PHP. It can read information about running PHP script from outside of the proces

null 258 Sep 15, 2022
A tool that allows to quickly export data from Magento 1 and Magento 2 store and import it back into Magento 2

Simple Import / Export tool A tool that allows to quickly export data from Magento 1 and Magento 2 store and import it back into Magento 2. Table data

EcomDev B.V. 51 Dec 5, 2022
This Magento 2 extension integrates EasyTranslate into Magento 2.

EasyTranslate Magento 2 Connector This Magento 2 extension integrates EasyTranslate into Magento 2. Mind that you need to have an account with EasyTra

Easytranslate ApS 0 Oct 7, 2022
Magento-Functions - A Resource of Magento Functions

Magento-Functions A Resource of Magento Functions Table of Contents Category Product User Cart Checkout General Account [Working w/ URL's] (#urls) Cat

Bryan Littlefield 28 Apr 19, 2021
Magento - Magento Community Editions

Magento Community Edition /// THIS REPOSITORY IS DEPREACTED /// 1.9.4.1 will be the last version update. Please switch over to OpenMage! Either to the

FireGento e. V. 107 Oct 17, 2022
Magento-Vagrant-Puppet-Nginx - Installs magento and a nginx server

Magento-Vagrant-Puppet-Nginx Installs Magento MySQL PHP PHP-FPM Nginx n98-magerun Setup git submodule init git submodule update vagrant up Modify pupp

Christian Münch 61 Aug 10, 2022
Docker-magento - Docker image for Magento 1.6 to 1.9

Docker image for Magento 1.x This repo creates a Docker image for Magento 1.x. Please note The primary goal of this repo is to create Docker images fo

Fu Cheng 144 Nov 18, 2022
Magento-composer-installer - Composer installer for Magento modules

!!! support the maintainer of this project via Patreon: https://www.patreon.com/Flyingmana Magento Composer Installer The purpose of this project is t

null 213 Sep 24, 2022
Chef-magento - Installs and Configures a Magento project

Description Requirements Chef 0.10.0 or higher required (for Chef environment use). Platform Debian, Ubuntu CentOS, Red Hat, Fedora Your basebox must

Inviqa 3 Jun 30, 2020
Cookbook-magento - Collection of recipes to build app stack for the Magento deployments with Chef

Magento Cookbook Collection of recipes to build app stack for the Magento deployments with Chef Installation With Berkshelf echo "cookbook 'magento',

Yevhen Viktorov 37 Sep 26, 2020
Magento-bulk - Bulk Import/Export helper scripts and CLI utilities for Magento Commerce

Magento Bulk Bulk operations for Magento. Configuration Copy config.php.sample to config.php and edit it. Product Attribute Management List All Attrib

Bippo Indonesia 23 Dec 20, 2022
Phpcs-magento-rules - A set of PHPCS rules used by made.com when hacking Magento

Made.com PHPCS Magento Rules A set of PHPCS rules used by made.com when hacking Magento. Pre-Requisites PHPCS Installation Short Version Clone this re

Made.com Tech Team 26 Jun 3, 2020
This Magento extension provides a Real Full Page Caching for Magento powered by Varnish with support of Session-Based information caching (Cart, Customer Accounts, ...) via ESI includes

This Magento extension provides a Real Full Page Caching (FPC) for Magento powered by Varnish with support of Session-Based information caching (Cart, Customer Accounts, ...) via ESI includes

Hugues Alary 95 Feb 11, 2022
Automatically load the next page of products in Magento. Easy to install and configure, this module works 100% out of the box with vanilla Magento 1.9.x and earlier.

Automatically load the next page of products in Magento. Easy to install and configure, this module works 100% out of the box with vanilla Magento 1.9.x and earlier.

Strategery 123 Nov 20, 2021
Foundation 3 Framework for Magento 1.7. Foundation styles and libraries. Magento Responsive theme. Off-canvas Left-Right sidebar columns for mobile.

Magento Foundation 3 Framework Zurb Foundation 3 framework for Magento 1.7. Magento Foundation 3 Version 1.3.0. Demo page: http://magendation.internet

Nando Boronat 62 Apr 1, 2022
[ONLY Magento 2.0.x Compatible] Code samples for Magento developers

Synopsis This project is a collection of samples to demonstrate technologies introduced in Magento 2. You will find the most simple extension along wi

Magento 58 Dec 26, 2022