Client side atproto account migrator in your web browser, along with services for backups and adversarial migrations. pdsmoover.com

Pre-scale the goose cow for the share cards

The og cards draw the mark at 82x64 but were decoding the full 521x406 artwork on every render. That decode is the most expensive part of a card and it scales with pixels rather than file size: ~5ms of a ~19ms render, for detail that gets thrown away. Ship a 164x128 mark (2x the drawn size, so it stays sharp if a platform scales the card up) plus a generator that rebuilds it from the source art with the same renderer the cards use: pnpm --filter web-ui og:mark A card now renders in ~13.2ms instead of ~19.0ms and inlines half the bytes (11.5KB of base64 instead of 23.1KB).


Author pds.dad
Committer Tangled Date Commit Parent 5a85e9b7
+479 -1
5 changed files
+479 -1
5 changed files