flamegraph upgrade

This commit is contained in:
Sam
2013-09-17 21:34:38 +10:00
parent fef39ee4c9
commit 6183e9bb6c
3 changed files with 9 additions and 3 deletions

View File

@@ -1,5 +1,11 @@
# using this script to try figure out why Rails 2 is slower that 1.9
#
require 'flamegraph'
Flamegraph.generate('test.html', fidelity: 2) do
require File.expand_path("../../config/environment", __FILE__)
end
exit
require 'memory_profiler'