A Broken Heart: Getting a 100x speedup by changing one dumb line of code

https://allenpike.com/2026/a-broken-heart/

A Broken Heart

Or, getting a 100x speedup with one dumb line of code.

Allen Pike
@apike hi there! Just seeing the network requests I'm pretty sure it's a bug that the response is 4MB for a subsetted font and the full font is 40MB in woff2 format.
Opening in ttx I see a bunch of glyph code duplication in the svg table.
I'll keep you updated about a fix :) thanks for bringing it up
@tom Interesting to hear, thanks Tom!
@apike should be now fixed 🙂 (no more crashes on iOS Safari)
@tom Interesting! I'm still seeing 1600ms main-thread-blocking Layout to display a single Noto Color Emoji heart in desktop Safari (26.3). Is that expected?
@apike oh sorry I didn't test the internals. I verified the specimen page for Noto Color Emoji doesn't crash anymore. Fonts was sending ~40mb of woff (uncompressed to 100+) and now it's about 3.5mb of woff.
@apike this is how it should look after the fix. I may have a early access to a version that is not yet the public production version.
@tom Yeah looks like it's not live yet – cool to see progress on this!