require 'bundler'; Bundler.setup
a = GC.stat(:total_allocated_object)

require 'readthis'
b = GC.stat(:total_allocated_object)

require 'redis-activesupport'
c = GC.stat(:total_allocated_object)

puts "readthis: #{b - a}"
puts "redis-activesupport: #{c - b}"

require 'bundler'; Bundler.setup
a = GC.stat(:total_allocated_objects)

require 'readthis'
b = GC.stat(:total_allocated_objects)

require 'redis-activesupport'
c = GC.stat(:total_allocated_objects)

puts "readthis: #{b - a}"
puts "redis-activesupport: #{c - b}"

Update GC.stats options for Ruby 2.2
Update GC.stats options for Ruby 2.2
