Skip to content
This repository has been archived by the owner on Mar 10, 2024. It is now read-only.

db tests are now very slow #23

Open
scopatz opened this issue Jun 26, 2018 · 5 comments
Open

db tests are now very slow #23

scopatz opened this issue Jun 26, 2018 · 5 comments

Comments

@scopatz
Copy link
Contributor

scopatz commented Jun 26, 2018

I believe this is because it is trying to load all of the packages. Maybe we should tamp that down a bit.

@CJ-Wright
Copy link
Member

We could lazy load the packages.

@scopatz
Copy link
Contributor Author

scopatz commented Jun 28, 2018

I think it is loading the conda-forge.json file once-per-package....

@CJ-Wright
Copy link
Member

ugh sorry, something tells me I wrote that 🐑

@CJ-Wright
Copy link
Member

this is the offending line.
https://github.com/regro/libcflib/blob/master/libcflib/model.py#L136

Should we have a packages singleton which Package either makes or pokes as needed?

@scopatz
Copy link
Contributor Author

scopatz commented Jun 29, 2018

I am working on the fix.

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

No branches or pull requests

2 participants