-
Notifications
You must be signed in to change notification settings - Fork 50
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
set_buffer
is slow
#18
Comments
Add feature flags for `x11` and `wayland`
20 ms is pretty bad, since that gives you less that 60fps just calling With some quick testing, I don't seem to see worse than around 1.5ms. Presumably a 4k buffer would take longer, though not by this much. Not sure how much difference CPU/memory/GPU speed/etc would have here. If anyone is currently seeing performance like this with |
@ids1024 I am getting 50ms on average to present a 4k window on macOS with the I can also reproduce the issue with just the |
Now that I've had the opportunity to test |
I left this open because my impression was that presenting is still slow on macOS (arguably more common since basically every Mac has a HiDPI display) |
Oh, my bad |
On Windows 10,
set_buffer
can take upwards of 15-20 ms, which is noticeably slow.Perhaps a no-copy API could be introduced to mitigate this.
The text was updated successfully, but these errors were encountered: