Profiling php (debug + run time)

Asked

Viewed 149 times

2

Someone uses php code Profiling, other than with zend studio?

The problem of zend studio is the license... but it is very good this functionality, there is something open source that is not as complicated as Xdebug and its many configurations, that is, that this functionality is the IDE software, that does not need adjustments in php.ini and etc...

The following is an example image of the Profiling zend studio

http://www.onlamp.com/onlamp/2008/03/11/images/Zend%20Studio%206.0%20-%20Profiler.jpg

  • 1

    Did you find a solution? Poste as an answer to help other people.

  • @bigown found something very similar http://www.phpmetrics.org/

  • I found a solution: https://blackfire.io/

1 answer

1


As the author found an alternative solution is the brackfire.io.

Prerequisites

Before installing Blackfire, some technical settings are required:

  • Probe, Agent and Client should work on Linux and Macos X.
  • The server works with PHP 5.3, 5.4, 5.5 and 5.6.
  • The Companion is currently only supported by Google Chrome.
  • The site works on all current browsers (it doesn’t work on IE).

Urging

There is an installation method for each server

  1. Follow the steps for your system https://blackfire.io/getting-started#installation
  2. Configure to your system specifications https://blackfire.io/doc/configuration (apparently works with Nginx and Apache)

Using

  1. Log in to brackfire.io;
  2. Navigate to the URL you want to get the profile
  3. Open the Companion by clicking on the browser toolbar icons;
  4. Select the "slot" you want to use
  5. Click on the "Profile"
  6. After a few seconds click on "View profile"

Browser other questions tagged

You are not signed in. Login or sign up in order to post.