Sha256: 80118c15c26c2a0447f7477efdc32b0bf6e1b6a2165ba74130a2b14382407568
Contents?: true
Size: 452 Bytes
Versions: 4
Compression:
Stored size: 452 Bytes
Contents
lib = File.join File.dirname(__FILE__), '..', 'lib' $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib) require 'fluffle' require 'fluffle/testing' server = Fluffle::Server.new url: 'amqp://localhost' server.drain do |dispatcher| dispatcher.handle('foo') { 'bar' } end server.start client = Fluffle::Client.new url: 'amqp://localhost' timings = 10.times.map do t0 = Time.now client.call('foo').inspect Time.now - t0 end puts timings
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
fluffle-0.2.1 | examples/testing.rb |
fluffle-0.2.0 | examples/testing.rb |
fluffle-0.1.1 | examples/testing.rb |
fluffle-0.1.0 | examples/testing.rb |