googlefonts / googlefonts/fontc
Reading UFO glyphs is slow?
Open
performance
- Dominant language
- Rust
- Stars
- 193
- Forks
- 21
- Avg merge
- 1d 20h
- Merged PRs (30d)
- 60
Description
Flamegraph of a Google Sans builds reports `norad::glyph::Glyph::load (2,878 samples, 24.86%)`. This is apparently because parsing is hard work, `norad::glyph::parse::GlifParser::parse_body (2,682 samples, 23.16%)`.

fontc will issue per-glyph reads from threads running GlyphIrWork so this should parallelize. Still, one has to wonder if this could be sped up.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.