Sha256: d62817d8a7c4c66a0f4d7e0dfcefa46178acf7b6d294802faac23c0e3c5685ed
Contents?: true
Size: 427 Bytes
Versions: 10
Compression:
Stored size: 427 Bytes
Contents
class LoadTest def test_with_channel start_time = Time.now for i in 0..1000 Totoro::Queue.enqueue_with_new_channel('example_queue', {shu: i}) end end_time = Time.now p (end_time - start_time) end def test_without_channel start_time = Time.now for i in 0..1000 Totoro::Queue.enqueue('example_queue', {shu: i}) end end_time = Time.now p (end_time - start_time) end end
Version data entries
10 entries across 9 versions & 1 rubygems