From: Lennon Day-Reynolds Date: 2004-07-03T07:11:16+09:00 Subject: Re: slow method searching? Sean, Multiple runs of the same tests, and grouping the tests differently, give me the same type of results David was seeing. The load and memory issues between invocations can make some difference, certainly, should not be the source of a 1000% variance. Also, if it were just OS-level variation, any one test run multiple times should display the same behavior. Lennon On Sat, 3 Jul 2004 07:04:41 +0900, Sean O'Dell wrote: > > You're timing how long it takes the OS to load the time program, the Ruby > interpreter, Ruby to load your script and then Ruby to run your code. The OS > is adding variance to your final times, probably. Try putting all of your > tests in a single Ruby script file. Place a pause or a gets in Ruby code to > allow the OS to stop all possible hard disk activity before commencing the > actual tests. > > Sean O'Dell > >