You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On both my laptop and my desktop, calling Buffer::set_text takes anywhere from 100µs to 1.3ms, averaging around 600µs for a string of around 20-22 characters using Shaping::Advanced. Using Shaping::Basic takes around 450µs. This to me seems very slow, calling Buffer::set_text a couple of times per frame takes up a serious part of the frame budget.
On both my laptop and my desktop, calling
Buffer::set_text
takes anywhere from 100µs to 1.3ms, averaging around 600µs for a string of around 20-22 characters usingShaping::Advanced
. UsingShaping::Basic
takes around 450µs. This to me seems very slow, callingBuffer::set_text
a couple of times per frame takes up a serious part of the frame budget.OS: nixos/arch
Rustc: 1.77.2
Cosmic-text: 0.11.2
Font: Roboto Regular
Edit:
This only seems to be a problem with the mono space version of the font.
The text was updated successfully, but these errors were encountered: