From: Scott Date: 2006-10-23T15:00:06+09:00 Subject: Re: find out the time used for searching a file require 'benchmark' seconds = Benchmark.realtime do #do stuff here end Li Chen wrote: > Hi all, > > When I run a script to search some files in a folder and/or its children > folders I want know how long it takes when the search is done. Is there > any such method available in Ruby ? > > Thanks, > > Li > > -- > Posted via http://www.ruby-forum.com/.