Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
We should provide a separate setting in the admin interface for toggling profiling of Drush (command line) requests on or off.
Comment | File | Size | Author |
---|---|---|---|
#8 | XHProf-no-drush-toggle-1803866-8.patch | 3.04 KB | Elin Yordanov |
Comments
Comment #1
jrbeemanComment #2
jrbeemanArgh - bad update hook name in first patch. New patch attached.
Comment #3
erikwebb CreditAttribution: erikwebb commentedComment #4
erikwebb CreditAttribution: erikwebb commentedNote: This patch will need to change if #1803858: Make "Disable profiling of admin pages" configuration element dependent on enabled setting is accepted first.
Comment #5
jrbeemanAgreed. I suggest waiting on #1803858: Make "Disable profiling of admin pages" configuration element dependent on enabled setting to be complete before moving on this.
Comment #6
jrbeemanUpdated patch, re-rolled against latest 7.x-1.x now that #1803858: Make "Disable profiling of admin pages" configuration element dependent on enabled setting is closed.
Comment #7
Elin Yordanov CreditAttribution: Elin Yordanov commentedI've re-rolled the patch to the current dev version, since it was not applying.
Please someone review.
Comment #8
Elin Yordanov CreditAttribution: Elin Yordanov commentedSorry for the previous patch, my IDE has messed up somethings before creating the patch.
Attached is the new one. Please review.
Comment #9
andypostneeds reroll after #2892127: Configuration not deleted on uninstall
Comment #10
andypostComment #11
Sharique CreditAttribution: Sharique as a volunteer and at Acquia commented+1 for separate config for Drush.
Comment #12
andypostAfter https://github.com/drush-ops/drush/pull/4705 drush can work without hacks
Also https://github.com/drush-ops/drush/pull/4710 make storage configurable
If both will be commited this one could be closed