Processing... Please wait...

Product was successfully added to your shopping cart.

Magento profiler not showing simple fix

Here is the situation: you enable Magento 1 profiler but the trace is not showing on frontend. You followed that online tutorial but still you couldn't get profiler to work.

In case you don't want to spend hours debugging it here is a simple fix that I have been using for years. Open up app/code/core/Mage/Core/Block/Profiler.php and comment out lines 32 to 36:

Magento Profiler Not Showing simple fix Magento Profiler Not Showing simple fix

You can copy app/code/core/Mage/Core/Block/Profiler.php to app/code/local/Mage/Core/Block/Profiler.php to follow Magento Best Practices.

Once you are done with profiling your code you can uncomment those lines.


Strugle with slow Magento! We can help! Fill out the form below.


Like the article? Share:


Other articles you might be interested in:

  1. How to eliminate render-blocking Javascript in Magento
  2. Free Magento PWA extension review
  3. Marius Strajeru, Jisse Reitsma, Rakesh Jesadiya talk about Magento 2
  4. WooCommerce and Magento 2 - 1 million products benchmark
  5. Pagespeed distribution of top 2k Magento websites


If you find this post interesting do not hesitate to sign up for our newsletter and join the 872 people who receive Magento news, tips and tricks regularly.

Thank You!