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

Offen
#110 1 Kommentar 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Maintainer antworten meist innerhalb von 1 Tag

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
5/5
Geschätzter Aufwand
Über eine Woche
Anfängerfreundlichkeit
20/100
Issue-Typ
Feature
Klarheit
Größtenteils klar
Aktivitätsstatus
Aktiv
Tech-Stack
rust, tauri
Bereich
performance

Rechercherichtung

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.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

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.
Vorherrschende Sprache
Rust
Sterne
3
Forks
1
Ø Merge
9 Std. 51 Min.
Gemergte PRs (30 T.)
310

Entwicklungsumgebung

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus codeatlasdev/atlas

Alle Issues in codeatlasdev/atlas

Ähnliche Issues

Weitere Issues zu Rust

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.