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

Latency when launching/closing the Snap UI #2832

Closed
danroc opened this issue Oct 11, 2024 · 1 comment
Closed

Latency when launching/closing the Snap UI #2832

danroc opened this issue Oct 11, 2024 · 1 comment
Assignees

Comments

@danroc
Copy link
Contributor

danroc commented Oct 11, 2024

There is some latency when launching and closing the Bitcoin Snap UI.

Example:

Screen.Recording.2024-10-11.at.17.50.35.mov

We suspect that part of the issue comes from reading or updating Snap's storage state. In our test, we observed that fetching an empty state took ~4 ms, while a state containing around 20 cached transactions took ~200 ms.

We can help with proper tests if needed.

@FrederikBolding
Copy link
Member

We've made significant improvements to the speed of storing and retrieving state and shipped other improvements that reduces the need for using the state for interface purposes. Closing and we can create a new ticket if there are more perf issues to look into in the future.

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

No branches or pull requests

2 participants