Skip to content

Speed up elastic_rake_spec

Dmitry Gruzd requested to merge speed-up-elastic-rake-spec into master

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.

Edited by Dmitry Gruzd

Merge request reports