On Mon, 21 Dec 2009 15:16:37 -0800
Sean Kellogg <[email protected]> wrote:

> That's sort of disappointing... I mean, httperf and siege are great tools, 
> but I was hoping to be able to setup various data "situations" 
> programatically before running the benchmark, as the program is very 
> data-specific.
> 
> Guess I can setup the data and then launch siege at the end of the script... 
> just feels far less satisfying.
> 
> Thanks,
> Sean
> 


Whilst it doesn't have any built in tools for it, you can probably use a setup 
similar to the test environment to set up your merb env programatically.  This 
is mostly the line:

Merb.start_environment(:adapter => 'runner') # perhaps also :testing => true is 
needed, along with a correct ENV

Once you have that, it should be possible to use normal benchmarking tools with 
the request method to test.  Though, if it's mostly data you're testing, 
perhaps the methods to process it would be better on your model, where they can 
be tested and benched normally?  (And independent of the stack, which shouldn't 
be a significant factor in data-heavy tasks anyway.)

Regards
Jon. 

--

You received this message because you are subscribed to the Google Groups 
"merb" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to [email protected].
For more options, visit this group at http://groups.google.com/group/merb?hl=en.


Reply via email to