Skip to content

Commit f950f30

Browse files
committed
"Without --yaml or MSF_DATABASE_CONFIG, ~/.msf4/database.yml wins" --defer-module-loads
MSP-11671 Pass `--defer-module-loads` to `msfconsole` to change average (n=10) runtime for `/usr/bin/time rake CUCUMBER_OPTS="-r features" FEATURE=features/msfconsole/database_yml.feature:88 cucumber:boot` from 51.79 seconds to 39.25 seconds (-24.40%). (-71.74% from e9a69a8.) Raw data: https://docs.google.com/spreadsheets/d/1vCRi_38Go3Wfq670eDCXMTSSXL1blSbk6NQsgpOqfYw/edit?usp=sharing.
1 parent 186abd5 commit f950f30

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

features/msfconsole/database_yml.feature

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ Feature: `msfconsole` `database.yml`
109109
database: project_metasploit_framework_test
110110
username: project_metasploit_framework_test
111111
"""
112-
When I run `msfconsole --environment test --execute-command exit`
112+
When I run `msfconsole --defer-module-loads --environment test --execute-command exit`
113113
Then the output should contain "user_metasploit_framework_test"
114114

115115
Scenario: Without --yaml, MSF_DATABASE_CONFIG or ~/.msf4/database.yml, project "database.yml" wins

0 commit comments

Comments
 (0)