Skip to content

Commit 22c56f5

Browse files
committed
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 f950f30.) Raw data: https://docs.google.com/spreadsheets/d/1vCRi_38Go3Wfq670eDCXMTSSXL1blSbk6NQsgpOqfYw/edit?usp=sharing.
1 parent 7a347ac commit 22c56f5

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
@@ -127,7 +127,7 @@ Feature: `msfconsole` `database.yml`
127127
database: project_metasploit_framework_test
128128
username: project_metasploit_framework_test
129129
"""
130-
When I run `msfconsole --environment test --execute-command exit`
130+
When I run `msfconsole --defer-module-loads --environment test --execute-command exit`
131131
Then the output should contain "project_metasploit_framework_test"
132132

133133

0 commit comments

Comments
 (0)