The first Code Profiler we looked at was the Advanced PHP Debugger (APD). (http://pecl.php.net/apd) Which I insist on calling ADP for some reason. This one had a lot of features that looked interesting, and had a single function call for turning it on or off. Something we could add to the pages we were interested in checking, or to our config to profile the complete set.
Unfortunately, the project looks to have been abandoned, with the last release (1.0.1) being from 2004. We tried setting it up anyway, the zend hooks still existed AFAICT and it’s not unreasonable to believe that profiling data would be reasonably unchanging. The rest of the “Debugger” might be out of date, but perhaps profiling would work.
As it turned out, apparently not ALL of the zend hooks still existed in the same form, and so every page load simply crashed PHP and the apache process managing the connection.