Sha256: 69d29b27d3235140932246bd47bc0a66eb3d1feeac1364317e011fb1b175dd2b
Contents?: true
Size: 303 Bytes
Versions: 10
Compression:
Stored size: 303 Bytes
Contents
require "yaml" require File.join(__dir__, "..", "lib", "allocation_stats") stats = AllocationStats.trace do y = YAML.dump(["one string", "two string"]) # lots of objects from Rbconfig::CONFIG["rubylibdir"] end stats.allocations.group_by(:sourcefile, :class).all.keys.each { |key| puts key.inspect }
Version data entries
10 entries across 9 versions & 2 rubygems