Skip to content

Parallelize 09_issues seeder

What does this MR do and why?

Parallelize 09_issues seeder

This parallelizes the 09_issues development fixture seeder, which speeds it up on macOS (M3 Max) from ~50s to ~21s.

References

How to verify locally

  1. (yes | gdk reset-data) > reset-data.txt 2>&1
    • ⚠️ This resets your local databases
  2. Verify everything was seeded, but faster
== Seed from /home/peter/devel/gitlab/gdk/gitlab/db/fixtures/development/09_issues.rb
[... many dots and warnings ...]

twitter/Typeahead.Js: 10 issues created!

OK
== /home/peter/devel/gitlab/gdk/gitlab/db/fixtures/development/09_issues.rb took 20.37 seconds
  1. Load schema for your test DB: RAILS_ENV=test be rake db:schema:load

MR acceptance checklist

Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Peter Leitzen

Merge request reports

Loading