Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Speed up bin/setup #1598

Open
phinze opened this issue Jul 20, 2024 · 0 comments
Open

Speed up bin/setup #1598

phinze opened this issue Jul 20, 2024 · 0 comments

Comments

@phinze
Copy link
Contributor

phinze commented Jul 20, 2024

When I already have all dependencies installed, bin/setup takes 1m39s on my machine. Ideally, bin/setup should be something that feels easy to run without thinking of it. I think sub 30s w/ all deps installed would be a good goal, but even getting it down to sub-1m would be a win.

The majority of time looks to be spent in devdata.rake and I bet there's some low hanging fruit in there.

jim pushed a commit that referenced this issue Jul 31, 2024
# What it does

Prevents us from copying the fixture image once per ~400 items loaded
during devdata

# Why it is important

Part of work on #1598 

# Implementation notes

* I was also able to rework the AnalyzeJob workaround in a way that
should prevent AnalyzeJobs from flying around in the dev env.
* As mentioned in the comments, this means the fixture image will get
rotated everywhere if it's rotated. I think this is a reasonable
tradeoff for how much repeated churn this saves.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: 📋 Backlog
Development

No branches or pull requests

1 participant