Zed Shaw wrote: > Hello Everyone, > > Another release of RFuzz to announce: > > http://rfuzz.rubyforge.org/ Yay! In case anybody's wondering... alex@pandora:~/Desktop/Noodling/ruby$ ruby -v; cat rfuzz_test.rb; ruby rfuzz_test.rb ruby 1.8.4 (2005-12-24) [i486-linux] require 'mongrel' require 'rfuzz/client' require 'net/http' require 'benchmark' h = Mongrel::HttpServer.new('0.0.0.0', '8080') h.register('/', Mongrel::DirHandler.new('.')) h.run def do_download(h, path) h.get(path) # quack! end n = 1000 Benchmark.bmbm(20) do |b| u = URI.parse('http://localhost:8080/rfuzz_test.rb') busted = Net::HTTP.new(u.host, u.port) b.report('net/http'){for i in 0..n; do_download(busted, u.path); end} hotness = RFuzz::HttpClient.new(u.host, u.port) b.report('rfuzz'){for i in 0..n; do_download(hotness, u.path); end} end Rehearsal ------------------------------------------------------- net/http 7.720000 1.470000 9.190000 ( 9.195841) rfuzz 3.040000 1.070000 4.110000 ( 4.119992) --------------------------------------------- total: 13.300000sec user system total real net/http 7.930000 1.370000 9.300000 ( 9.298725) rfuzz 2.950000 1.130000 4.080000 ( 4.073578) That doesn't include those speedups for net/http that went through the list a couple of weeks back, though. -- Alex