Terminal engine: idle compression of cold scrollback

未关闭
#256 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
5/5
预计耗时
一周以上
新手友好度
12/100
Issue 类型
功能
描述清晰度
需要澄清
活跃度
活跃
技术栈
rust
领域
performance

调研方向

Start with discussion #237 and the #239 harness, then read the 64 MiB history cap in vt/history.rs. The design is gated on the libghostty-vt spike and the #239 memory baseline, so establish that baseline first and record RSS for long agent histories. The work likely adds a page layer under the forked alacritty Grid, with a separate Windows path that avoids MADV_DONTNEED; done means lower RSS on #239 with no throughput regression. This is design work, not a first patch.

由索引模型根据 Issue 内容生成。

描述

area: terminal priority: 3 low status: confirmed type: feature

Research: discussion #237 (Linux/engine comment). Applies to macOS, Windows and Linux (shared atlas-term). Measure with the #239 harness before and after.

Context

Atlas caps history at 64 MiB per terminal (vt/history.rs). Ghostty 1.4 compresses cold scrollback pages with LZ4 only when idle: 49.6 MB → 3.0 MB on their corpus, no throughput loss [their measurement], Linux and macOS only, still being fuzzed at merge.

Change

Needs a page layer under alacritty's Grid (fork) or comes with the libghostty-vt spike. Decide after that spike and the #239 memory baseline. Windows needs a design without MADV_DONTNEED.

Done when

RSS for long agent histories down on #239 with no throughput regression.

主要语言
Rust
星标
3
派生
1
平均合并
9 小时 51 分钟
30 天内合并 PR
310

环境准备

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

codeatlasdev/atlas 的其他 Issue

查看 codeatlasdev/atlas 的全部 Issue

相似的 Issue

更多 Rust Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。