mirror of
https://github.com/penpot/penpot.git
synced 2026-11-21 01:22:01 +00:00
Resizing a copy board scales a swapped head in it through its constraints. The next sync of the head, as the root of its own component, gave it its component's size back. As a sync that resizes a board already does, a transform that resizes one now marks the geometry of each untouched swapped head it gives another size, unless a layout sizes it, so later syncs keep that size. The harness model authors the same size. Benchmark (lower quantile, ms): | world | baseline | now | mean | ratio | |------------------------------------+----------+---------+---------+-------| | deepest-edit-through-three-levels | 35.215 | 23.800 | 28.893 | 0.68 | | edit-through-a-chain-of-dependents | 68.931 | 48.458 | 60.725 | 0.70 | | library-update-into-copies | 83.083 | 61.325 | 63.038 | 0.74 | | main-edit-among-many-shapes | 4.837 | 2.523 | 2.669 | 0.52 | | main-edit-into-10-copies | 1.79 | 1.180 | 1.214 | 0.66 | | main-edit-into-100-copies | 15.415 | 11.228 | 11.628 | 0.73 | | main-edit-into-1000-copies | 153.086 | 110.756 | 120.456 | 0.72 | | variant-switch-into-copies | 32.052 | 24.565 | 28.627 | 0.77 | AI-assisted-by: claude-opus-5-5