79dd92c818
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). |
||
---|---|---|
.. | ||
attachment_uploader.rb | ||
avatar_uploader.rb | ||
external_diff_uploader.rb | ||
favicon_uploader.rb | ||
file_mover.rb | ||
file_uploader.rb | ||
gitlab_uploader.rb | ||
import_export_uploader.rb | ||
job_artifact_uploader.rb | ||
legacy_artifact_uploader.rb | ||
lfs_object_uploader.rb | ||
namespace_file_uploader.rb | ||
object_storage.rb | ||
personal_file_uploader.rb | ||
records_uploads.rb | ||
uploader_helper.rb | ||
workhorse.rb |