Skip to content

Commit

Permalink
tweak bench script to avoid nil errors
Browse files Browse the repository at this point in the history
  • Loading branch information
yob committed Nov 17, 2012
1 parent b009d4f commit 222d057
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/bench.rb
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ def extract_text
extract_text
after = ObjectSpace.count_objects
after.each do |key, val|
puts "#{key}: #{val - before[key]}"
puts "#{key}: #{val - before[key].to_i}"
end
GC.start

Expand Down

0 comments on commit 222d057

Please sign in to comment.