`Without --yaml, MSF_DATABASE_CONFIG or ~/.msf4/database.yml, project "database.yml" wins` --defer-module-loads
MSP-11671 Run `msfconsole` with `--defer-module-loads` to change average (n=10) runtime of `/usr/bin/time rake CUCUMBER_OPTS="-r features" FEATURE=features/msfconsole/database_yml.feature:115 cucumber:boot` from 51.42 seconds to 37.76 seconds (-26.57%). (Change of -72.98% since f950f3094de718f5294a84fb7e0a78390818ba4d.) Raw data: https://docs.google.com/spreadsheets/d/1vCRi_38Go3Wfq670eDCXMTSSXL1blSbk6NQsgpOqfYw/edit?usp=sharing.
This commit is contained in:
parent
7a347accd8
commit
22c56f5253
|
@ -127,7 +127,7 @@ Feature: `msfconsole` `database.yml`
|
|||
database: project_metasploit_framework_test
|
||||
username: project_metasploit_framework_test
|
||||
"""
|
||||
When I run `msfconsole --environment test --execute-command exit`
|
||||
When I run `msfconsole --defer-module-loads --environment test --execute-command exit`
|
||||
Then the output should contain "project_metasploit_framework_test"
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue