Sha256: 9fd1435586a015117e714fa84e5913669b21881337847a120cf78686494c0e01
Contents?: true
Size: 237 Bytes
Versions: 2
Compression:
Stored size: 237 Bytes
Contents
require 'statsd' require 'benchmark' # user system total real # 0.920000 1.900000 2.820000 ( 3.579831) s = Statsd.new('localhost') Benchmark.bm do |x| x.report { 10000.times { s.increment('foobar') }} end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
rstatsd-0.3 | spec/benchmark.rb |
rstatsd-0.2 | spec/benchmark.rb |