We should provide a separate setting in the admin interface for toggling profiling of Drush (command line) requests on or off.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

jrbeeman’s picture

jrbeeman’s picture

Argh - bad update hook name in first patch. New patch attached.

erikwebb’s picture

Status: Active » Needs review
erikwebb’s picture

jrbeeman’s picture

Agreed. I suggest waiting on #1803858: Make "Disable profiling of admin pages" configuration element dependent on enabled setting to be complete before moving on this.

jrbeeman’s picture

Elin Yordanov’s picture

Issue summary: View changes
FileSize
3.11 KB

I've re-rolled the patch to the current dev version, since it was not applying.
Please someone review.

Elin Yordanov’s picture

FileSize
3.04 KB

Sorry for the previous patch, my IDE has messed up somethings before creating the patch.
Attached is the new one. Please review.

andypost’s picture

Status: Needs review » Needs work
+++ b/xhprof.install
@@ -0,0 +1,15 @@
+function xhprof_update_7100() {

needs reroll after #2892127: Configuration not deleted on uninstall

andypost’s picture

Version: 7.x-1.x-dev » 8.x-1.x-dev
Sharique’s picture

+1 for separate config for Drush.

andypost’s picture

After 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