Close [x]

Enable an HTML profiler (MAGE_PROFILER)

Edit this page on GitHub

Contents

Introduction to Magento HTML profiling

You can use an HTML profiler with Magento to perform tasks such as analyzing performance. (The nature of profiling depends on the analytical tools you use.)

Magento provides the base functionality in Magento\Framework\Profiler.

Set MAGE_PROFILER

MAGE_PROFILER supports the following values:

You can set the value of MAGE_PROFILER in any of the ways discussed in Set the value of bootstrap parameters.