gitlab-org--gitlab-foss/app
Yorick Peterse dec3e4ce64 Added Sherlock, a custom profiling tool for GitLab
Sherlock will be a new GitLab specific tool for measuring the
performance of Rails requests (and SideKiq jobs at some point). Some of
the things that are currently tracked:

* SQL queries along with their timings, backtraces and query plans
  (using "EXPLAIN ANALYZE" for PostgreSQL and regular "EXPLAIN" for
  MySQL)
* Timings of application files (including views) on a per line basis
* Some meta data such as the request method, path, total duration, etc

More tracking (e.g. Rugged or gitlab-shell timings) might be added in
the future.

Sherlock will replace any existing tools we have used so far (e.g.
active_record_query_trace and rack-mini-profiler), hence the
corresponding Gems have been removed from the Gemfile.

Sherlock can be enabled by starting Rails as following:

    ENABLE_SHERLOCK=1 bundle exec rails s

Recorded transactions can be found at `/sherlock/transactions`.
2015-11-09 14:29:10 +01:00
..
assets Added Sherlock, a custom profiling tool for GitLab 2015-11-09 14:29:10 +01:00
controllers Added Sherlock, a custom profiling tool for GitLab 2015-11-09 14:29:10 +01:00
finders Allow groups to appear in the search results if the group owner allows it 2015-11-05 13:18:51 +02:00
helpers Merge branch 'small-ui-improvements' into 'master' 2015-11-07 10:43:00 +00:00
mailers Only pass abuse report ID to AbuseReportMailer. 2015-10-18 11:58:45 +02:00
models Enable shared runners for all new projects 2015-11-05 17:02:02 +01:00
services Fix bug where manually merged branches in a MR would end up with an empty diff 2015-11-05 23:47:04 -08:00
uploaders Fix: Images cannot show when projects' path was changed 2015-10-14 18:50:35 +03:00
views Added Sherlock, a custom profiling tool for GitLab 2015-11-09 14:29:10 +01:00
workers Cleanup stuck CI builds daily 2015-11-03 13:12:16 +01:00