Skip to content

Instantly share code, notes, and snippets.

View obrie's full-sized avatar

Aaron Pfeifer obrie

View GitHub Profile
@obrie
obrie / heap_diff.rb
Last active June 5, 2017 16:15
Heap Differ
#!/usr/bin/env ruby
require 'set'
require 'json'
if ARGV.length != 3
puts "Usage: detect_leaks [FIRST.json] [SECOND.json] [THIRD.json]"
exit 1
end
current directory: /home/aaron/.rvm/gems/truffleruby-1.0.0-rc2/gems/nokogiri-1.8.3/ext/nokogiri
/home/aaron/.rvm/rubies/truffleruby-1.0.0-rc2/bin/truffleruby -r ./siteconf20180627-20269-1369s86.rb extconf.rb
checking if the C compiler accepts ... yes
Building nokogiri using packaged libraries.
Using mini_portile version 2.3.0
checking for gzdopen() in -lz... yes
checking for iconv... yes
************************************************************************
IMPORTANT NOTICE: