Rack middleware for tracing object allocations in Ruby 2.1