mirror of
https://github.com/discourse/discourse.git
synced 2024-11-23 02:50:00 +08:00
flamegraph upgrade
This commit is contained in:
parent
fef39ee4c9
commit
6183e9bb6c
|
@ -201,7 +201,7 @@ GEM
|
|||
fast_xs (0.8.0)
|
||||
fastimage (1.3.0)
|
||||
ffi (1.8.1)
|
||||
flamegraph (0.0.3)
|
||||
flamegraph (0.0.4)
|
||||
fast_stack
|
||||
fog (1.14.0)
|
||||
builder
|
||||
|
@ -232,7 +232,7 @@ GEM
|
|||
image_sorcery (1.1.0)
|
||||
in_threads (1.1.1)
|
||||
journey (1.0.4)
|
||||
json (1.7.7)
|
||||
json (1.8.0)
|
||||
jwt (0.1.8)
|
||||
multi_json (>= 1.5)
|
||||
kgio (2.8.0)
|
||||
|
|
|
@ -229,7 +229,7 @@ GEM
|
|||
fast_xs (0.8.0)
|
||||
fastimage (1.5.0)
|
||||
ffi (1.9.0)
|
||||
flamegraph (0.0.3)
|
||||
flamegraph (0.0.4)
|
||||
fast_stack
|
||||
fog (1.14.0)
|
||||
builder
|
||||
|
|
|
@ -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'
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user