forp-PHP-profiler
forp-PHP-profiler copied to clipboard
A PHP profiler written in C. forp is a lightweight PHP extension which provides the full call stack of your script, with CPU and memory usage, in a plain PHP Array or JSON output.
Already supported PHP7
Hello. Tell me, please, can I use forp profiler without modify code ? I'am talking about log file with full trace/ Maybe some settings in php.ini ?
Not sure if you're planning on supporting OS X, but I get the following error during make (on OS X 10.8.5): ``` bin/sh /Users/garypearman/Documents/Development/opensource/forp-PHP-profiler-1.0.1/libtool --mode=link cc -DPHP_ATOM_INC -I/Users/garypearman/Documents/Development/opensource/forp-PHP-profiler-1.0.1/include -I/Users/garypearman/Documents/Development/opensource/forp-PHP-profiler-1.0.1/main -I/Users/garypearman/Documents/Development/opensource/forp-PHP-profiler-1.0.1...
When i try to build the profiler on a thread safe compiled PHP 5.5.10 on Mac OS X 10.9, it failed with the following error message: ``` sh /opt/appserver/var/tmp/forp/php_forp.c:304:5: warning:...
``` $ sudo make /bin/bash /tmp/forp-PHP-profiler-1.0.1/libtool --mode=compile cc -I. -I/tmp/forp-PHP-profiler-1.0.1 -DPHP_ATOM_INC -I/tmp/forp-PHP-profiler-1.0.1/include -I/tmp/forp-PHP-profiler-1.0.1/main -I/tmp/forp-PHP-profiler-1.0.1 -I/usr/include/php5 -I/usr/include/php5/main -I/usr/include/php5/TSRM -I/usr/include/php5/Zend -I/usr/include/php5/ext -I/usr/include/php5/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /tmp/forp-PHP-profiler-1.0.1/php_forp.c -o php_forp.lo libtool: compile: cc...
When I enable forp on nginx with php-fpm 5.4 the fpm-server fail to serve the request : > child 15497 exited on signal 11 (SIGSEGV)
I wanted to know if there was anyway to get arguments like in xdebug. I think they allow for knowing the type of data and the size of that data,...
I think that a few things could be added. forp_stats() this should give information about the dump. Like how many functions calls are in it. The total script execution time...
I wrote forp to work in python, I am not sure if it matches up all the way and there are many things I need to do to get it...