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

Typora Snap takes a very long time to start the first time since PC boot #1

Open
hsandt opened this issue Dec 17, 2024 · 1 comment

Comments

@hsandt
Copy link

hsandt commented Dec 17, 2024

Typora Snap version: v1.9.3

When starting Typora Snap for the first time since PC boot, it takes a very long time to start (about 10 seconds).

This only happens with the Snap version.

@predr
Copy link
Contributor

predr commented Dec 17, 2024

It's a confined electron app. Some slowness is expected on first start while environment is being setup.

With that said, I'm getting about 5s for first and 2s for second startup. I think it can be improved to 2s first and 1s second startup using compression: lzo, though it will be 35% larger in size. Using newer base: core22 or base: core24 could also improve startup speed.

I'll do some more testing and offer a PR.

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

2 participants