Speed up elastic_rake_spec
What does this MR do and why?
This MR speed-ups ee/spec/tasks/gitlab/elastic_rake_spec.rb
by 14 minutes.
Before
Finished in 41 minutes 1 second (files took 1.57 seconds to load)
After
Finished in 26 minutes 48 seconds (files took 1.59 seconds to load)
I have some ideas for future improvements, but I think this one is pretty good first iteration.
Screenshots or screen recordings
Screenshots are required for UI changes, and strongly recommended for all other merge requests.
Before | After |
---|---|
How to set up and validate locally
Numbered steps to set up and validate the change are strongly suggested.
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Edited by Dmitry Gruzd