diff options
author | Sean McGivern <sean@gitlab.com> | 2018-01-18 13:21:42 +0000 |
---|---|---|
committer | Sean McGivern <sean@gitlab.com> | 2018-01-19 12:31:54 +0000 |
commit | b16c0080ac0dc79c7b397e6f5bc8d6088d2cb943 (patch) | |
tree | ba79c9f854e74d57cf7b940f452b4cfb1130c256 /bin | |
parent | b9ff53e8d3b6e9e0e2926ece03d1b1c386aa0dc8 (diff) | |
download | gitlab-ce-b16c0080ac0dc79c7b397e6f5bc8d6088d2cb943.tar.gz |
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.
Diffstat (limited to 'bin')
0 files changed, 0 insertions, 0 deletions