Magento Profiling - Magento

What is Magento Profiling?

The function is known as Profiler which performs a critical position with Magento development and can be used for developer handiest to debugging. It specifies blocks of code which make loading of the page sluggish. The Magento profiler reports the time taken through a block of code to execute, a number of instances the block of the code completed and reminiscence utilized by it even as rendering a Magento internet web page.

To permit the Profiler, you need to do the subsequent things:

Step (1): Login to your Magento Admin Panel.

Step (2): visit system menu and click on the Configuration choice.


Step (3): On the left side of the navigation, go to Advanced section and click on the Developer option.


Step (4): Expand the Debug panel and enable the profiler by setting it to option Yes and click on the Save Config button.


Step (5): At this point the profiler is enabled, but we need to tell the profiler to what profile. So go to root index.php file of your Magento installation and look for the line #Varien_Profiler::enable(); and uncomment it i.e. remove the hash sign.

Step (6): Now go to any of your pages, you should see the output in the footer area of the page like shown in the screen below.


All rights reserved © 2020 Wisdom IT Services India Pvt. Ltd Protection Status

Magento Topics