Active
Project:
Performance testing project
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Reporter:
Created:
3 Feb 2012 at 20:27 UTC
Updated:
7 Feb 2012 at 14:46 UTC
Jump to comment: Most recent
At present, it is necessary to use PHP's auto_prepend_file and auto_append_file to add prepend.php and append.php to each page execution in order to do full page XHProf profiling. I think a hook-based approach would be preferable here, like the one found in the XHProf module. For one, it wouldn't require changes to the web-server config in order to work.
I'm working on this and will submit a patch as soon as I'm sure it's working properly.
Comments
Comment #1
Anonymous (not verified) commentedthanks for the issue.
just to be clear - these methods should exist alongside each other, not in opposition. requiring the hook system means we lose data, but also makes it easier to setup. requiring server config means its harder to setup, but also means we capture more data.