2

I enable profiler SetEnv MAGE_PROFILER html in my conf file for magento 2.

Is there an easy way to profile Magento 2 API REST calls.

4

I would recommend to check (even as a trial option) solutions like:

  • Blackfire.io
  • NewRelic
  • xdebug

Those tools will show you exact traces and timing of each separate PHP Trace that is involved within any operation/transaction (not limited to API calls)

For Database related bottlenecks - MySQL Slow Query Log can be enabled (*depends on MySQL Version used). This can be used without mentioned performance monitoring tools

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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