Skip to content

Commit ddc4190

Browse files
committedAug 15, 2014
Basic benchmark for operators
1 parent eee2076 commit ddc4190

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed
 

Diff for: ‎benchmarks/operators.rb

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
t1 = Time.now
2+
3+
a = 0
4+
100000.times do
5+
a = a + 1
6+
end
7+
puts a
8+
9+
puts Time.now - t1

0 commit comments

Comments
 (0)
Please sign in to comment.