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
From the flamegraph it's pretty clear that the problem lies somewhere in our font shaping. Chances are we just need to be caching something that we're recomputing every resize instead
The text was updated successfully, but these errors were encountered:
Had some time to dig into this some more and it looks like the main slow-down comes from us supporting font-fallback now, so we're doing a lot more work now than we used to (since changing Shaping::Advanced to Shaping::Basic gets us back to snappy resizing). Looks like it's time to explore how we want to optimize this
I noticed that window resizing has gotten very laggy compared to the v0.3 series when viewing very large documents (like
src/manual_test_data/bun.md
)slow_resize.mp4
I've gone ahead and recorded a profile with
samply
while resizing the window constantlyhttps://share.firefox.dev/3SIORoT
From the flamegraph it's pretty clear that the problem lies somewhere in our font shaping. Chances are we just need to be caching something that we're recomputing every resize instead
The text was updated successfully, but these errors were encountered: