Add Gitlab::Profiler for profiling from a console or runner
Gitlab::Profiler.profile takes a URL to profile, and returns the ruby-prof
profile result.
This is currently only for interactive use (in a console) or from the script
runner. Note that when using this interactively, changes to the application
within that console session will be used, so this can be used to test proposed
performance changes.
Showing
lib/gitlab/profiler.rb
0 → 100644
spec/lib/gitlab/profiler_spec.rb
0 → 100644
Please
register
or
sign in
to comment