Sha256: f81f439dc9badba50162a293f602ae0bc1dc5b62afe2f475ce22cc25233e30d9
Contents?: true
Size: 299 Bytes
Versions: 1
Compression:
Stored size: 299 Bytes
Contents
# -- coding: utf-8 require File.expand_path("#{File.dirname(__FILE__)}/helper.rb") job = lambda {|kt| cnt = 0 begin Timeout.timeout(1){ loop do kt[:foo] = :bar kt[:foo] cnt += 1 end } rescue Timeout::Error end kt.clear cnt } benchmark(job)
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
genki-kyototycoon-0.6.1 | benchmark/getset_while_1sec.rb |