Metasploit mailing list archives

[PATCH] speedup


From: hdm at metasploit.com (HD Moore)
Date: Thu, 25 Jun 2009 13:06:13 -0500

On Thu, 25 Jun 2009 12:42:56 -0500, Yoann Guillot  
<john-metasploit at ofjj.net> wrote:

Hi

This is a patch that speeds up Msf::Simple::Framework.create by a factor  
2 on my machine. I'm not quite sure this is 100% correct, but it seem to  
be, as far as I understand the framework.

Merged to trunk and will do some regression testing this evening (time to  
update/improve the test suite).

PlatformList.all? should fire for exploit/multi/handler and a few of the  
'match anything' modules.


On Ruby 1.8.7, this improves msfconsole load time from 7.50 seconds to 5.00

On Ruby 1.9.1, this improves msfconsole load time from 4.56 seconds to 3.75

Nice work :-)


-HD


Current thread: