Closed (fixed)
Project:
XHProf
Version:
8.x-1.x-dev
Component:
User interface
Priority:
Major
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
30 Mar 2016 at 00:51 UTC
Updated:
31 Mar 2020 at 21:14 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
gokulnk commentedIncreasing the priority to Major as this functionality is critical to this module. Please change it back if you think otherwise.
Comment #3
imclean commentedThis would be a very useful feature.
Our work around for now is to use the code supplied with the PECL extension.
xhprof.output_dir, restart httpdindex.phpfrom step 2 and set$GLOBALS['XHPROF_LIB_ROOT']to the directory in step 1Comment #4
andypostIt needs to implement
\Drupal\xhprof\Controller\XHProfController::symbolAction()Comment #5
nixou commentedHere is a patch with symbolAction() implementation.
I didn't find out how to have the "Exclusive Metrics for Current Function" and there is no link "View Top Level Run Report" as we had on D7 version.
But the main behavior seems ok.
Comment #6
nixou commentedComment #7
imclean commentedHaving a look now, the patch seems to work well. Thanks.
Comment #8
vurt commentedI tested the patch against the current version and it works fine. With this patch the module is so much better. Thank you!
Comment #9
andypostIt looks great! just minor nitpicks like missing phpdocs and different array formatting
PS: somehow it needs to setup testing of the module classes in separate issue
Comment #10
andypostComment #11
andypostit should be request->query->get()
Comment #12
vurt commentedI made a new version of the patch addressing the request->query->get(). I also changed the array syntax.
I did not feel that I know enought about the module to add meaningful phpdocs...
Comment #13
vurt commentedChanged to needs review.
Comment #15
moshe weitzman commentedSorry, I'm not really maintaining this module but I needed it today so trying to pitch in. This patch works and is sorely needed so in it goes.