I am working on speed optimization of the Magento 2 site. Does anyone know the best debugging software where I can track which magento2 PHP function takes more time?

Please share your thoughts to achieve the above approach

  • New Relic is free and Blackfire is commercial (they are technically different though)
    – Jimmy
    Aug 16, 2021 at 7:47

2 Answers 2


Mage Profiler

Perform tasks such as analyzing performance.

Enable profiler:-

bin/magento dev:profiler:enable

Here is an interesting blog post that might help you https://yegorshytikov.medium.com/magento-2-performance-problem-profiling-and-optimization-3a2054fe0768.

You can also try the inbuild chrome performance tool to measure how long your requests take and you can debug and see what you can improve.

And as mentioned the Magento Profiler is also a great tool

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.