From: Bob Hutchison Date: 2005-11-09T01:11:50+09:00 Subject: Re: [ANN] Ruby Web Bench 0.0.0 (RWB) On Nov 8, 2005, at 10:32 AM, pat eyler wrote: > On 11/8/05, Bob Hutchison wrote: >> >> On Nov 7, 2005, at 7:52 PM, pat eyler wrote: >> Since you are asking for suggestions, one thing that would be nice, >> maybe it is already there and I just didn't notice it, is a warmup >> phase. In the applications I'm working on the first couple hits on a >> URL causes work to be done that I don't really want timed. > > Not there yet, but I love the idea, so I'll add it shortly. How does > something like this look: > > (in the RWB::Runner class) > warmup(num_times) # this would just walk through the > # array of urls and > url_groups num_times > # times, making num_times > * array.length > # total requests > > rand_warmup(num_requests) # this would randomly select urls to > request, > # making num_requests > total requests. Looks good. Maybe with the ability to sepecify a set of URLs to warmup on and an order within them? Maybe too much work for small gain? Cheers, Bob