mirror of
https://github.com/penpot/penpot.git
synced 2026-11-21 01:22:01 +00:00
A copy text marked as owning its typography, though neither it nor its main applies one, kept its size over a switch to a variant whose text applies a typography. The size drops that typography, but the switch asked whether the copy's styles drop it of the copy's whole touched set, which holds the typography mark, and so marked the dropped reference as a typography override. The switch now asks of the text overrides it carries. Benchmark (scripts/bench-components, ms, lower 2.5% quantile): | :world | :baseline | :now | :mean | :ratio | |------------------------------------+-----------+--------+--------+--------| | deepest-edit-through-three-levels | 35.215 | 19.698 | 20.154 | 0.56 | | edit-through-a-chain-of-dependents | 68.931 | 37.739 | 39.432 | 0.55 | | library-update-into-copies | 83.083 | 45.988 | 48.369 | 0.55 | | main-edit-among-many-shapes | 4.837 | 1.93 | 2.101 | 0.4 | | main-edit-into-10-copies | 1.79 | 0.971 | 0.987 | 0.54 | | main-edit-into-100-copies | 15.415 | 9.163 | 9.653 | 0.59 | | main-edit-into-1000-copies | 153.086 | 91.955 | 96.317 | 0.6 | | variant-switch-into-copies | 32.052 | 20.339 | 23.274 | 0.63 | AI-assisted-by: claude-opus-5-5