• Peter Leitzen's avatar
    Mark feature flags in Gitlab/MarkUsedFeatureFlags only once · 577be505
    Peter Leitzen authored
    Mark dynamic feature flags and feature flags for usage data counters
    only once per whole rubocop run instead of once per file.
    
    This reduces the overall runtime of this cop drastically:
    
        time bundle exec rubocop -C false -f q --only Gitlab/MarkUsedFeatureFlags
    
    * Before: ~8m53.589s
    * After: ~3m56.036s
    577be505
mark_used_feature_flags_spec.rb 9.16 KB