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

Opening saved snippets is exceptionally slow #18

Open
tom-writes-code opened this issue Apr 21, 2022 · 0 comments
Open

Opening saved snippets is exceptionally slow #18

tom-writes-code opened this issue Apr 21, 2022 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@tom-writes-code
Copy link
Owner

When taking the option to load snippets, REPLLOAD is very slow to open. It is also slow to change user, or toggle between saved/unsaved snippets.

The call stack shows that it is spending a long time sat here:
image

The stated line is the "SELECT(...LISTAGG..." statement in fetchStoredSnippets()... which is almost certainly badly inefficient.

@tom-writes-code tom-writes-code added the bug Something isn't working label Apr 21, 2022
@tom-writes-code tom-writes-code self-assigned this Apr 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant