开发者

Building XHProf into CI (phpundercontrol) non-intrusively

开发者 https://www.devze.com 2023-03-17 07:56 出处:网络
I would love to build XHProf output and metrics into phpUnderControl. After doing a good amount of research, it seems th开发者_Python百科e only path to XHProf is to actually change code to include and

I would love to build XHProf output and metrics into phpUnderControl. After doing a good amount of research, it seems th开发者_Python百科e only path to XHProf is to actually change code to include and execute it. Does XHProf have any modes similar to xdebug's profiler enable trigger where it can profile without modifications? Has anyone produced an automation tool for profiling with a CI server like phpUnderControl or Jenkins?


Could you use PHP's auto_prepend_file, and auto_append_file in a custom ini to enable and disable the details without modifying the files themselves? I suggest something like that for the GUI: https://github.com/preinheimer/xhprof/blob/master/INSTALL

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号