gitlab-org--gitlab-foss/spec/factories
Sean McGivern 79dd92c818 Optimise upload path calls
String#underscore isn't particularly slow, but it's possible for us to
call it many times in a users autocomplete request, with mostly-static
values ('User', 'Group', etc.). We can memoise this and save a
surprising amount of time (around 10% of the total request time in some
cases).
2019-05-14 11:01:48 -05:00
..
ci
clusters
error_tracking
gitaly
releases
abuse_reports.rb
appearances.rb
application_settings.rb
award_emoji.rb
badge.rb
board_group_recent_visit.rb
board_project_recent_visit.rb
boards.rb
broadcast_messages.rb
chat_names.rb
chat_teams.rb
commit_statuses.rb
commits.rb
container_repositories.rb
conversational_development_index_metrics.rb
deploy_keys_projects.rb
deploy_tokens.rb
deployments.rb
emails.rb
environments.rb
events.rb
file_uploaders.rb
fork_network_members.rb
fork_networks.rb
gpg_key_subkeys.rb
gpg_keys.rb
gpg_signature.rb
group_custom_attributes.rb
group_members.rb
groups.rb
identities.rb
import_export_uploads.rb
import_states.rb
instance_configuration.rb
internal_ids.rb
issues.rb
keys.rb
label_links.rb
label_priorities.rb
labels.rb
lfs_file_locks.rb
lfs_objects.rb
lfs_objects_projects.rb
lists.rb
merge_request_diff_files.rb
merge_request_diffs.rb
merge_requests.rb
merge_requests_closing_issues.rb
milestones.rb
namespaces.rb
notes.rb
notification_settings.rb
oauth_access_grants.rb
oauth_access_tokens.rb
oauth_applications.rb
pages_domains.rb
personal_access_tokens.rb
pool_repositories.rb
programming_languages.rb
project_auto_devops.rb
project_custom_attributes.rb
project_daily_statistics.rb
project_deploy_tokens.rb
project_error_tracking_settings.rb
project_group_links.rb
project_hooks.rb
project_members.rb
project_metrics_settings.rb
project_repositories.rb
project_statistics.rb
project_wikis.rb
projects.rb
prometheus_metrics.rb
protected_branches.rb
protected_tags.rb
redirect_routes.rb
releases.rb
remote_mirrors.rb
repository_languages.rb
resource_label_events.rb
sent_notifications.rb
sequences.rb
service_hooks.rb
services.rb
shards.rb
snippets.rb
spam_logs.rb
subscriptions.rb
suggestions.rb
system_hooks.rb
system_note_metadata.rb
term_agreements.rb
terms.rb
timelogs.rb
todos.rb
trending_project.rb
u2f_registrations.rb
uploads.rb Optimise upload path calls 2019-05-14 11:01:48 -05:00
user_agent_details.rb
user_callouts.rb
user_custom_attributes.rb
user_preferences.rb
user_statuses.rb
users.rb
users_star_projects.rb
web_hook_log.rb
wiki_directories.rb
wiki_pages.rb