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.


Like the article? Share:


Other articles you might be interested in:

  1. Magento TTFB optimization to reduce time to first byte
  2. Magento 2 on PHP7 - 25% increase in performance
  3. Wyomind plugin to add 250ms to Magento 2 TTFB
  4. Pagespeed distribution of top 2k Magento websites
  5. Magento 2 Full Page Cache Benchmark


Our Magento extensions you might be interested in:


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

Thank You!