Sha256: 6d0f35a00547fbeb22e853db30ba60491307fe0d1ab47dd45183cffa2f64acb7
Contents?: true
Size: 294 Bytes
Versions: 10
Compression:
Stored size: 294 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 puts stats.allocations(alias_paths: true).group_by(:sourcefile, :class).to_text
Version data entries
10 entries across 9 versions & 2 rubygems