gitlab-org--gitlab-foss/lib/gitlab
Yorick Peterse 1b077d2d81 Use custom code for instrumenting method calls
The use of ActiveSupport would slow down instrumented method calls by
about 180x due to:

1. ActiveSupport itself not being the fastest thing on the planet
2. caller_locations() having quite some overhead

The use of caller_locations() has been removed because it's not _that_
useful since we already know the full namespace of receivers and the
names of the called methods.

The use of ActiveSupport has been replaced with some custom code that's
generated using eval() (which can be quite a bit faster than using
define_method).

This new setup results in instrumented methods only being about 35-40x
slower (compared to non instrumented methods).
2015-12-17 17:25:48 +01:00
..
backend Fixed Rubocop offenses 2015-12-15 00:53:52 -02:00
bitbucket_import Fixed Rubocop offenses 2015-12-15 00:53:52 -02:00
diff Fixed Rubocop offenses 2015-12-15 00:53:52 -02:00
email Mix url helpers in into RepositoryPush 2015-12-11 13:00:24 +00:00
fogbugz_import Fixed Rubocop offenses 2015-12-15 00:53:52 -02:00
git Fire update hook from GitLab 2015-11-30 18:36:34 +02:00
github_import fix specs 2015-11-30 16:12:31 +02:00
gitlab_import Fixed Rubocop offenses 2015-12-15 00:53:52 -02:00
gitorious_import Fixed Rubocop offenses 2015-12-15 00:53:52 -02:00
google_code_import Fixed Rubocop offenses 2015-12-15 00:53:52 -02:00
graphs
ldap Block LDAP user when they are no longer found in the LDAP server 2015-12-08 11:15:30 -06:00
lfs Recursivity needed if a fork is a fork of a fork. 2015-12-04 12:32:13 +01:00
markdown Move Markdown/reference logic from Gitlab::Markdown to Banzai 2015-12-15 15:51:16 +01:00
metrics Use custom code for instrumenting method calls 2015-12-17 17:25:48 +01:00
middleware
o_auth AuthHash should not parameterize email user 2015-12-10 18:49:48 -05:00
sherlock Added total query time to Sherlock 2015-11-24 10:57:21 +01:00
sidekiq_middleware
sql Fix UNION syntax for MySQL 2015-11-18 13:31:18 +01:00
access.rb
app_logger.rb
asciidoc.rb Move Markdown/reference logic from Gitlab::Markdown to Banzai 2015-12-15 15:51:16 +01:00
auth.rb
bitbucket_import.rb
build_data_builder.rb Migrate CI::Project to Project 2015-12-11 18:02:09 +01:00
closing_issue_extractor.rb Allow invalid URLs in closing pattern 2015-12-02 18:48:39 +01:00
color_schemes.rb
compare_result.rb Add ignore white space option in merge request diff 2015-11-13 16:53:53 +09:00
config_helper.rb
contributions_calendar.rb
contributor.rb
current_settings.rb Expose artifacts path 2015-11-23 13:05:22 +01:00
database.rb Migrate CI WebHooks and Emails to new tables 2015-12-10 16:04:08 +01:00
force_push_check.rb Replace all usages of git command with configurable binary path 2015-11-03 17:11:09 -05:00
git.rb
git_access.rb Add support for git lfs. 2015-11-16 12:39:13 +01:00
git_access_status.rb
git_access_wiki.rb
git_logger.rb
git_ref_validator.rb Replace all usages of git command with configurable binary path 2015-11-03 17:11:09 -05:00
gitorious_import.rb
identifier.rb
import_formatter.rb
import_sources.rb
incoming_email.rb
inline_diff.rb Move spec to proper place and fix unused variable 2015-11-13 09:45:21 +01:00
issues_labels.rb
key_fingerprint.rb
logger.rb
markup_helper.rb
metrics.rb Improved last_relative_application_frame timings 2015-12-17 17:25:48 +01:00
note_data_builder.rb
popen.rb
production_logger.rb
project_search_results.rb Fix commits search for empty repository 2015-11-03 10:16:09 +01:00
push_data_builder.rb fixes after review 2015-12-07 15:13:06 +02:00
reference_extractor.rb Move Markdown/reference logic from Gitlab::Markdown to Banzai 2015-12-15 15:51:16 +01:00
regex.rb Add ability to create directories in the editor 2015-10-29 15:49:07 +01:00
search_results.rb
seeder.rb Migrate mailers to ActiveJob 2015-11-26 17:03:43 +02:00
sherlock.rb Only load rblineprof when actually needed 2015-11-09 15:54:13 +01:00
sidekiq_logger.rb
snippet_search_results.rb
themes.rb
upgrader.rb Replace all usages of git command with configurable binary path 2015-11-03 17:11:09 -05:00
uploads_transfer.rb Fix: Images cannot show when projects' path was changed 2015-10-14 18:50:35 +03:00
url_builder.rb
user_access.rb
utils.rb
version_info.rb
visibility_level.rb