From: Daniel Schierbeck Date: 2007-03-08T03:48:27+09:00 Subject: Re: A better benchmarking syntax (was: Automatic Benchmark Iterations) On Thu, 2007-03-08 at 02:20 +0900, Tim Pease wrote: > On 3/7/07, Daniel Schierbeck wrote: > > > > I must admit to being a great fan of RSpec, although the pace of API > > changes has thrown me off for now, but I'm not sure this path is the > > best. I did actually think about it at first. The strength of Test::Unit > > is its simple syntax: just remember #setup, #teardown, and #test_*. I'd > > like to add the same simplicity to any new benchmarking system. I'll > > give it some more thought :) > > > > Any idea for a name? "benchmark" is unfortunately already taken... > > > > > > Algorithm for generating product names > > 1) locate random object on desk > 2) pick random character from alphabet > 3) replace first character of object (from step 1) with the chosen > character (from step 2) > > Example > > 1) apricot > 2) 'h' > 3) hpricot > > >From my own desk > > 1) light bulb > 2) 'f' > 3) fight_bulb > > See, piece of cake! 1) 'laptop' 2) 'b' 3) 'baptop' ?! That's a weird cake... Daniel ;)