phacility / xhprof

XHProf is a function-level hierarchical profiler for PHP and has a simple HTML based user interface.
http://pecl.php.net/package/xhprof
Apache License 2.0
2.6k stars 925 forks source link

Proxy zend_compile_string() so that eval() compilation tme is profiled #5

Closed davidsklar closed 12 years ago

davidsklar commented 12 years ago

If someone is using eval() then currently eval() compilation time is not included in xhprof results. This patch adds proxying for zend_compile_string() to change that.