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

オープン
#110 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
20/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
活発
技術スタック
rust, tauri
領域
performance

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

説明

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.
主要言語
Rust
スター
3
フォーク
1
平均マージ
9時間 51分
マージ済み PR(30日)
310

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

codeatlasdev/atlas のほかの issue

codeatlasdev/atlas の issue をすべて見る

似ている issue

Rust の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。