There is an obscure bug in Xdebug that has not been fixed yet. It results
in weird costs written to the cachegrind file.
http://bugs.xdebug.org/view.php?id=357
Here is a part of the cachegrind output file:
fl=php:internal
fn=php::function_exists
330 3
fl=php:internal
fn=php::function_exists
334 2
fl=php:internal
fn=php::function_exists
330 2
fl=php:internal
fn=php::function_exists
334 4293967300
fl=php:internal
fn=php::function_exists
330 1
fl=php:internal
fn=php::function_exists
334 3
fl=php:internal
fn=php::function_exists
330 1
fl=php:internal
fn=php::func
This confuses Webgrind total cost calculation, so that not all functions
are displayed in the profile.
I know that Webgrind is not to blame for Xdebug bugs, but apparently this
bug is hard to track down, so I suggest you provide a workaround until it
has been fixed.
This patch fixes the problem.
Original issue reported on code.google.com by c960657 on 15 Mar 2010 at 2:43
Original issue reported on code.google.com by
c960657
on 15 Mar 2010 at 2:43Attachments: