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

The memory usage is relatively high, and there will be a brief white screen when starting. #319

Closed
WZY1999428 opened this issue May 28, 2024 · 3 comments

Comments

@WZY1999428
Copy link

I used the code of git clone to run a simple example. The memory usage reached more than 200 m, and there was a white screen for one second after startup.
1716858114330
1716858158945

@DJMcNab
Copy link
Member

DJMcNab commented Jun 3, 2024

The high memory usage is somewhat expected. This is related to linebender/vello#366, where we allocate buffers of a fixed size, and these sized are not tunable. This is among my priorities, although there are also projects I will be working on.

The starting white screen is probably related to linebender/vello#485 and other related issues, where shader compilation is taking a long time. linebender/vello#575 will almost certainly help resolve this, and we're working to land that in Xilem soon (we need to do a Vello release first)

@DJMcNab
Copy link
Member

DJMcNab commented Jun 11, 2024

Can you confirm whether #381 had an impact on this (specifically the white screen at startup)?

@WZY1999428
Copy link
Author

你能否确认#381是否对此有影响(特别是启动时的白屏)?

I think it should be that the startup speed is now half faster than before

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