As discussed with eporama, I'd like to suggest that my "bootstrap smoke test" (bst) command is incorporated into Drush Debug Tools.
Here's the current code for it, which is a standalone drush.inc file:
https://github.com/mcdruid/mcdruid-drush/blob/master/bootstrap_smoke_tes...
[edit - updated github link after renaming the repo]
As it stands, it should work with D6 or D7.
Here's an example of the output:
$ drush bst
operation time time-delta memory memory-delta
starting bootstrap_full 0 0 19.75MB 19.75
finished includes 20 20 24.25MB 4.5
loading enabled modules 20 0 24.25MB 0
loading module block 20 0 25MB 0.75
loaded module block 30 10 25.25MB 0.25
loading module alt_stream_wrappers 30 0 25.25MB 0
loaded module alt_stream_wrappers 30 0 25.25MB 0
loading module color 30 0 25.25MB 0
loaded module color 30 0 25.5MB 0.25
loading module comment 30 0 25.5MB 0
loaded module comment 30 0 26.25MB 0.75
loading module contextual 30 0 26.25MB 0
loaded module contextual 30 0 26.25MB 0
loading module ctools 30 0 26.25MB 0
loaded module ctools 30 0 26.5MB 0.25
loading module dashboard 30 0 26.5MB 0
loaded module dashboard 30 0 26.5MB 0
loading module devel_generate 30 0 26.5MB 0
loaded module devel_generate 30 0 26.75MB 0.25
loading module field 30 0 26.75MB 0
loaded module field 40 10 28MB 1.25
loading module field_sql_storage 40 0 28MB 0
loaded module field_sql_storage 40 0 28.25MB 0.25
loading module field_ui 40 0 28.25MB 0
loaded module field_ui 40 0 28.25MB 0
loading module file 40 0 28.25MB 0
loaded module file 50 10 28.75MB 0.5
loading module filefield_sources_plupload 50 0 28.75MB 0
loaded module filefield_sources_plupload 50 0 28.75MB 0
loading module filter 50 0 28.75MB 0
loaded module filter 50 0 29.25MB 0.5
loading module help 50 0 29.25MB 0
loaded module help 50 0 29.5MB 0.25
loading module image 50 0 29.5MB 0
loaded module image 50 0 30MB 0.5
loading module ip_test 50 0 30MB 0
loaded module ip_test 50 0 30MB 0
loading module list 50 0 30MB 0
loaded module list 50 0 30MB 0
loading module menu 50 0 30MB 0
loaded module menu 60 10 30.25MB 0.25
loading module node 60 0 30.25MB 0
loaded module node 60 0 31.25MB 1
loading module number 60 0 31.25MB 0
loaded module number 60 0 31.5MB 0.25
loading module options 60 0 31.5MB 0
loaded module options 60 0 31.5MB 0
loading module overlay 60 0 31.5MB 0
loaded module overlay 60 0 31.5MB 0
loading module path 60 0 31.5MB 0
loaded module path 60 0 31.75MB 0.25
loading module plupload 60 0 31.75MB 0
loaded module plupload 60 0 31.75MB 0
loading module rdf 60 0 31.75MB 0
loaded module rdf 60 0 32MB 0.25
loading module search 60 0 32MB 0
loaded module search 70 10 32.5MB 0.5
loading module shortcut 70 0 32.5MB 0
loaded module shortcut 70 0 32.5MB 0
loading module syslog 70 0 32.5MB 0
loaded module syslog 70 0 32.5MB 0
loading module system 70 0 32.5MB 0
loaded module system 70 0 32.5MB 0
loading module taxonomy 70 0 32.5MB 0
loaded module taxonomy 70 0 33MB 0.5
loading module text 70 0 33MB 0
loaded module text 70 0 33.25MB 0.25
loading module toolbar 70 0 33.25MB 0
loaded module toolbar 70 0 33.25MB 0
loading module update 70 0 33.25MB 0
loaded module update 70 0 33.5MB 0.25
loading module user 70 0 33.5MB 0
loaded module user 70 0 33.5MB 0
loading module views_data_export 70 0 33.5MB 0
loaded module views_data_export 70 0 33.5MB 0
loading module views_ui 70 0 33.5MB 0
loaded module views_ui 80 10 33.75MB 0.25
loading module filefield_sources 80 0 33.75MB 0
loaded module filefield_sources 80 0 34MB 0.25
loading module views 80 0 34MB 0
loaded module views 80 0 34.75MB 0.75
loading module devel 80 0 34.75MB 0
loaded module devel 80 0 34.75MB 0
loading module standard 80 0 34.75MB 0
loaded module standard 80 0 34.75MB 0
modules loaded 80 0 34.75MB 0
getting stream_wrappers 80 0 34.75MB 0
got stream_wrappers 80 0 34.75MB 0
initialising path 80 0 34.75MB 0
initialised path 80 0 34.75MB 0
setting custom theme 80 0 34.75MB 0
set custom theme 80 0 34.75MB 0
initialising theme 80 0 34.75MB 0
initialised theme 80 0 35MB 0.25
starting to invoke hook_init 80 0 35MB 0
start hook_init in ctools 80 0 35MB 0
end hook_init in ctools 80 0 35MB 0
start hook_init in overlay 80 0 35MB 0
end hook_init in overlay 80 0 35MB 0
start hook_init in system 80 0 35MB 0
end hook_init in system 80 0 35MB 0
start hook_init in update 80 0 35MB 0
end hook_init in update 80 0 35MB 0
start hook_init in views_data_export 80 0 35MB 0
end hook_init in views_data_export 90 10 35.25MB 0.25
start hook_init in devel 90 0 35.25MB 0
end hook_init in devel 90 0 35.25MB 0
finished hook_init 90 0 35.25MB 0
end of bootstrap_full 90 0 35.25MB 0
I'd be happy to do some work to get this in.
Comments
Comment #1
mcdruid commentedComment #2
lukusLooks amazing! Looking forward to a full release.
Comment #3
mcdruid commentedPatches attached (one a vanilla diff and the other made with git format-patch) which add the bootstrap_smoke_test.drush.inc commandfile. (To be clear both patches contain the same changes just in a slightly different format).
I've added an implementation of hook_drush_help which groups the command from the new file in with the other dt* commands in the output of drush help.
Comment #5
mcdruid commented