Skip to content

Conversation

@pmnxis
Copy link

@pmnxis pmnxis commented Jan 2, 2026

Implement lazy loading for system fonts to reduce memory consumption from 1.9GB to 161KB. Use path-based handles instead of loading all font data into memory during enumeration.

  • 99.99% memory reduction (1.91 GB -> 161 KB)

#270
pmnxis/chama-optics#5

Implement lazy loading for system fonts to reduce memory consumption
from 1.9GB to 161KB. Use path-based handles instead of loading all
font data into memory during enumeration.

- 99.99% memory reduction (1.91 GB -> 161 KB)
- 74% fewer allocations (77 GB -> 20 GB total)
- 71% faster loading (8.68s -> 2.50s)

servo#270
pmnxis/chama-optics#5
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