"With all 4 locations, --yaml wins" --defer-module-loads

MSP-11671

Add --defer-module-loads to msfconsole run to reduce average (n=10)
running time from 51.78 seconds to 40.38 seconds (-22.02% change).  This
is a -71.55% change since 4eb9a7563a.  Raw
data:
https://docs.google.com/spreadsheets/d/1vCRi_38Go3Wfq670eDCXMTSSXL1blSbk6NQsgpOqfYw/edit?usp=sharing.
bug/bundler_fix
Luke Imhoff 2014-12-03 12:54:21 -06:00
parent 0e1e5125c6
commit 69b170a7df
No known key found for this signature in database
GPG Key ID: 5B1FB01FB33356F8
1 changed files with 1 additions and 1 deletions

View File

@ -48,7 +48,7 @@ Feature: `msfconsole` `database.yml`
database: project_metasploit_framework_test
username: project_metasploit_framework_test
"""
When I run `msfconsole --environment test --execute-command exit --yaml command_line.yml`
When I run `msfconsole --defer-module-loads --environment test --execute-command exit --yaml command_line.yml`
Then the output should contain "command_line_metasploit_framework_test"
Scenario: Without --yaml, MSF_DATABASE_CONFIG wins