Sha256: 1314893969b40b9742a20a037074465b71e6b4730018defd7da6328564787b59
Contents?: true
Size: 321 Bytes
Versions: 5
Compression:
Stored size: 321 Bytes
Contents
Then /^1 \+ 1 == 2$/ do 1 + 1 == 2 end Then /cpu intensive operation/ do t1 = Time.now rep = 100 n = 100 x = Array.new(n, 0) for j in 1..rep for i in 0..(n-1) x[i] += i end end end Then /io intensive operation/ do ArProfile.destroy_all 1000.times do ArProfile.create! end end
Version data entries
5 entries across 5 versions & 1 rubygems