gitlab-org--gitlab-foss/spec
Paul Slaughter c49d4a4985 Improve files_decorator performance
**How?**
Previously the files_decorator inserted parent folders inefficiently.
It started at the first part and ensured each was inserted.

Since the file entries are given to use in alphabetical order, we can
start at the last part of the blob's parents. If this exists, we can
short circuit and be done inserting parents.

**What else?**
- Improve performance of decorateData. The object spread operator is
not needed because the object is brand new.
2019-03-07 09:22:05 +00:00
..
bin
config Filter note parameters 2019-02-14 10:46:27 +02:00
controllers Allow GraphQL requests without CSRF token 2019-03-06 15:38:00 +01:00
db
dependencies
factories Add suffix for merge request event 2019-03-01 22:52:38 +09:00
features Merge branch 'ce-project-settings-freshen-titles-descriptions' into 'master' 2019-03-07 06:40:50 +00:00
finders Display the correct number of MRs a user has access to 2019-03-05 15:15:22 +00:00
fixtures Backport security-reports fixtures to CE 2019-03-07 00:34:45 +00:00
frontend Revert "Merge branch 'winh-dequarantine-labels-autocomplete' into 'master'" 2019-03-05 11:02:00 +00:00
graphql Apply suggestion to spec/graphql/types/query_type_spec.rb 2019-03-05 15:46:00 +00:00
helpers Add Saturday to first day of the week 2019-03-04 07:52:15 +03:30
initializers
javascripts Improve files_decorator performance 2019-03-07 09:22:05 +00:00
lib Provide EE backports for filtering by approver feature 2019-03-07 07:06:54 +00:00
mailers Resolve conflicts in spec/mailers/notify_spec.rb 2019-03-04 22:33:37 -08:00
migrations Revert "Merge branch '54924-clean-up-data' into 'master'" 2019-03-06 13:05:55 -05:00
models Allow protected branch creation via web and API 2019-03-06 12:20:27 +00:00
policies Allow protected branch creation via web and API 2019-03-06 12:20:27 +00:00
presenters Expose merge request entity for pipelines 2019-03-06 16:30:35 +07:00
rack_servers
requests Merge branch '41888-access-personal-snippets-by-api' into 'master' 2019-03-06 19:47:05 +00:00
routing Improve the GitHub and Gitea import feature table interface 2019-02-13 00:15:57 +00:00
rubocop
serializers Expose merge request entity for pipelines 2019-03-06 16:30:35 +07:00
services Accept force option on commit via API 2019-03-06 10:44:59 +00:00
sidekiq/cron
support Merge branch 'add-rubocop-return-nil-style' into 'master' 2019-03-06 17:54:35 +00:00
tasks Prepare test suite for switch to Gitaly-embedded Git hooks 2019-02-27 10:58:21 +00:00
uploaders Check snippet attached file to be moved is within designated directory 2019-02-21 16:44:44 +08:00
validators Add frozen_string_literal to new files 2019-03-04 23:19:19 -08:00
views Merge branch 'fix/38010-sidebar-loads-and-collapses' into 'master' 2019-03-06 00:35:30 +00:00
workers Merge dev master into GitLab.com master 2019-03-04 19:44:46 +01:00
factories_spec.rb
fast_spec_helper.rb
rails_helper.rb
rake_helper.rb
simplecov_env.rb
spec_helper.rb Bring back Rugged implementation of find_commit 2019-03-01 08:45:51 -08:00