Skip to content

v0.7.1

Choose a tag to compare

@HundredBillion HundredBillion released this 17 Nov 13:44
b4704e3

Sprite v0.7.1 uses less CPU when one pane updates often, such as an agent's status line or a build log beside an editor.

  • Glyphs no longer pay for their draw order one by one: #153 drew a grid's backgrounds in one GPUI layer, but each glyph's text opened a layer of its own inside it, and every layer took its own entry in GPUI's draw-order tree. A busy pane still spent most of its drawing time there. A layer inside another now shares its order, so a frame's ordering work no longer grows with the glyphs on screen (#170, closes #169).
  • Only the pane that changed is redrawn: each update in one pane used to repaint every pane in the window. Panes are now cached, so a quiet editor beside a busy terminal keeps its last drawing (#170).

On macOS, a busy pane with a 10 Hz status line beside VSVim went from about 7% of one core to 2.5–4.3%.

Compatibility

Nothing a program relies on changes: the Surface protocol, pane control and configuration behave as in 0.7.0.

Validation

CI passed on the merged change on macOS and Arch Linux: format, clippy with warnings denied, and the full test suite. Linux CPU use was not measured for this release.