Skip to content

Perfomance: Font cache, color cache, increase MAX_LINE_LEN #60

Open
osv wants to merge 2 commits intorobm:masterfrom
osv:perfomance-improve
Open

Perfomance: Font cache, color cache, increase MAX_LINE_LEN #60
osv wants to merge 2 commits intorobm:masterfrom
osv:perfomance-improve

Conversation

@osv
Copy link

@osv osv commented Sep 8, 2024

  • add cache of xft font
  • add cache of color (XAllocNamedColor)
  • increase size of MAX_LINE_LEN from 8k to 256k. 8k is too small for my case.

With font caching I can have 60FPS without huge CPU impact

perfomance

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

Successfully merging this pull request may close these issues.

1 participant