Skip to content

Improve cli cold-start speed #73

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

Merged
merged 1 commit into from
Sep 1, 2024
Merged

Improve cli cold-start speed #73

merged 1 commit into from
Sep 1, 2024

Conversation

djcopley
Copy link
Owner

@djcopley djcopley commented Sep 1, 2024

Don't access the providers until after the prompt is up to make the cli feel more responsive.

6x speed up

Closes #72

Before

Screenshot 2024-09-01 at 12 19 16 AM

After

Screenshot 2024-09-01 at 12 19 01 AM

@djcopley djcopley merged commit fb85276 into main Sep 1, 2024
12 checks passed
@djcopley djcopley deleted the improve-cli-startup-speed branch September 18, 2024 21:00
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.

Startup performance could be better
1 participant