diff options
author | Sean McGivern <sean@gitlab.com> | 2019-07-24 12:37:05 +0100 |
---|---|---|
committer | Sean McGivern <sean@gitlab.com> | 2019-07-30 10:00:52 +0100 |
commit | 18cdc5ba6ce1810c19982475eca89fd385fe31e2 (patch) | |
tree | da5bb763305bc081a671a514bb1a1a267cd0ef74 /lib/peek/views | |
parent | 004b72fe165a38dd97cab1fb531f1094261a4eba (diff) | |
download | gitlab-ce-18cdc5ba6ce1810c19982475eca89fd385fe31e2.tar.gz |
Remove line profiler from performance bar
1. The output isn't great. It can be hard to find hotspots and, even
when you do find them, to find why those are hotspots.
2. It uses some jQuery-specific frontend code which we can remove now
that we don't have this any more.
3. It's only possible to profile the initial request, not any subsequent
AJAX requests.
Diffstat (limited to 'lib/peek/views')
-rw-r--r-- | lib/peek/views/redis_detailed.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/peek/views/redis_detailed.rb b/lib/peek/views/redis_detailed.rb index a64ea672895..b95307deddb 100644 --- a/lib/peek/views/redis_detailed.rb +++ b/lib/peek/views/redis_detailed.rb @@ -22,7 +22,7 @@ module Gitlab detail_store << { cmd: args.first, duration: duration, - backtrace: Gitlab::Profiler.clean_backtrace(caller) + backtrace: ::Gitlab::Profiler.clean_backtrace(caller) } end |