Profiling with Browser Toolbars

This procedure describes how to profile a PHP web application with the use of browser toolbars like Z-Ray or Zend Debugger Toolbar.

Profiling with Z-Ray

  1. Ensure the Z-Ray is enabled and running on your Zend Server.
  2. Open the web page you would like to profile in a browser.
  3. Ensure your PDT is open.
  4. Click the 'Bug' icon on the Z-Ray toolbar and select Profile current page option to profile the page currently displayed in the browser.

    Profile with Z-Ray

The relevant profile session will be launched in PDT.

Profiling with Zend Debugger Toolbar

  1. Ensure the Zend Debugger Toolbar is installed on your browser.
  2. Open the web page you would like to profile in a browser.
  3. Ensure your PDT is open.
  4. Click the 'Profile' icon on the Zend Debugger Toolbar to profile the page currently displayed in the browser.

    Profile with Zend Debugger Toolbar

The relevant profile session will be launched in PDT.

Profiling with Xdebug toolbars

  1. Ensure the Xdebug helper or The easiest Xdebug is installed on your browser.
  2. Make sure xdebug.profiler_enable_trigger is enabled
  3. Open the web page you would like to profile in a browser.
  4. Ensure your PDT is open.
  5. Click the 'Profile' icon on the Xdebug Toolbar to profile the page currently displayed in the browser.

You Xdebug will create CacheGrind. Now you can import profile session