Permalink
Fetching contributors…
Cannot retrieve contributors at this time
executable file 15 lines (10 sloc) 319 Bytes
#!/usr/bin/env ruby
require 'benchmark'
require File.dirname(__FILE__) + "/../lib/oink.rb"
Benchmark.bmbm(15) do |x|
x.report("Running Oink") {
f = File.open(File.expand_path(File.dirname(__FILE__) + "/../logs/production.log"))
Oink::MemoryUsageReport.new([f], 75*1024).print(STDOUT)
f.close
}
end