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

Allow caching #1281

Merged
merged 1 commit into from
Jul 8, 2024
Merged

Allow caching #1281

merged 1 commit into from
Jul 8, 2024

Conversation

dz0ny
Copy link
Contributor

@dz0ny dz0ny commented Jun 17, 2024

I was using devenv as flake library but later switched to cli, only noticing that is magnitude slower. What is the main reason for disabling caching?

Without caching:

time devenv shell exit
• Building shell ...
✔ Building shell in 5.1s.
0.76s user 0.18s system 13% cpu 7.154 total

With caching:

time devenv --eval-cache shell exit
• Building shell ...
✔ Building shell in 1.5s.
0.06s user 0.03s system 5% cpu 1.645 total

@dz0ny dz0ny force-pushed the main branch 3 times, most recently from 33c932f to 7a26b3e Compare June 17, 2024 18:27
@domenkozar
Copy link
Member

The main reason is that it brings a lot of complexity and bugs, like caching evaluation errors.

@dz0ny
Copy link
Contributor Author

dz0ny commented Jun 20, 2024

Ah, well I needed this for CI. Otherwise it was bit too slow.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants