Desktop: medir e publicar RAM/CPU com N agentes em paralelo (bench vs Ghostty)

Đang mở
#110 1 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
Mức phù hợp với người mới
20/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
rust, tauri
Lĩnh vực
performance

Hướng nghiên cứu

Start by reading the memory-related constants the issue cites: the 10k/100k scrollback ceiling in vt/mod.rs:233 and the 2 MiB per-PTY ring in pty/mod.rs:42, then check how disk scrollback (<id>.bin) and the per-tab webview are laid out. From there build a load generator under scripts/ that drives 10 and 30 tabs of agent-like TUI output, sample RSS for the app, hostd and WebContent plus idle CPU and p99 frame time, and run the same script against Ghostty 1.3.1. Done means a numbers table published under docs/, a nightly job that fails on an agreed RSS regression threshold, and a 24 h / 20-tab soak run with no dropped frames. Note the regression percentage is still undefined, so agree on it first.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

area: desktop area: terminal type: feature

Problema

Para quem roda muitos agentes em paralelo, o argumento principal para trocar de terminal é "não trava e não come RAM". Hoje não há número publicado: o README fala de 120 Hz e frames sub-ms, mas nada sobre memória por aba nem estabilidade com N agentes por dias.

Pontos que já existem e merecem número: scrollback padrão 10k linhas (teto 100k, vt/mod.rs:233), ring de 2 MiB por PTY no hostd (pty/mod.rs:42), scrollback em disco (<id>.bin), webview Tauri + view nativa por aba.

Proposta

  1. Bench reproduzível (scripts/ ou CI noturno): 10 e 30 abas com um gerador de saída tipo agente (TUI redesenhando + streaming) por 1 h; medir RSS do app, do hostd e do WebContent, CPU ociosa, tempo de frame p99.
  2. Mesma carga no Ghostty 1.3.1 como referência.
  3. Publicar a tabela em docs/ e no site; regressão de RSS > X% falha o job.
  4. Teste de duração: 24 h com 20 abas sem frame perdido (casa com o watchdog da issue anterior).

Aceite

  • Doc com números por versão; job que acusa regressão de memória.
Ngôn ngữ chính
Rust
Star
3
Fork
1
Merge trung bình
9 giờ 51 phút
Pull request đã merge (30 ngày)
310

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của codeatlasdev/atlas

Tất cả issue của codeatlasdev/atlas

Issue tương tự

Thêm issue về Rust

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.