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

Improve start-up time from using jurigged #17

Open
JamesHutchison opened this issue May 16, 2023 · 2 comments
Open

Improve start-up time from using jurigged #17

JamesHutchison opened this issue May 16, 2023 · 2 comments

Comments

@JamesHutchison
Copy link
Owner

The jurigged library creates start-up and import overhead. As an example, if it took 50 seconds before, it may take a 1:20 now to run a test for the first time. This creates a compromise and can add to developer consternation if they are forced to reload the server frequently. It's unlikely a developer needs to run a test for the first time, and then immediately run it again, so there may be an opportunity to run the jurigged work in the background, hiding the overhead from the dev.

@JamesHutchison
Copy link
Owner Author

JamesHutchison commented May 17, 2023

The codefind library is a potential culprit, specifically codefind.registry.CodeRegistry.collect_all, however its unclear how much can be saved since a bulk of the cost is in I/O calls

@JamesHutchison
Copy link
Owner Author

Possibly related: breuleux/jurigged#31

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

No branches or pull requests

1 participant