Selection bench: main-thread stall p95 13 ms over its 8 ms budget on macOS (never held there)

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

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

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

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
35/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
活発
技術スタック
macos, rust, tauri

調査の方向性

Start by reading scripts/selection-bench.ts and run bun scripts/selection-bench.ts on the release Mac to reproduce the stall and inspect its measurements. The issue points to time after the synchronous flush, including WebKit style, layout, and paint, but does not identify the code responsible. Done means reducing p95 stall below 8 ms or setting a budget from a measured release Mac baseline; desktop UI work is owned outside the crew per #348.

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

説明

area: desktop os: macos type: bug

Selection bench: main-thread stall p95 is over its 8 ms budget on macOS (and was at the commit that set it)

Found in the macOS release checks for 1.5.0-alpha.26 (bun scripts/selection-bench.ts, agent instance, 13 fixture repos, 40 rounds, idle machine: load ~2.5 on 12 cores).

stall p95 flush p95 nodes p95
budget (selectionBench.ts) 8 ms 8 ms 120
bba68598 (2026-10-13, the commit that set the budget) 11 ms — —
main c48f7dc9 (3 runs) 13 / 13 / 14 ms 5 ms 22

So this is not a new regression: the stall budget never held on this Mac (M4 Pro, macOS 27.2). It drifted ~2-3 ms in a month while flush (4→5 ms) and nodes (84→22) improved. Flicker sweep on the same build: 19 surfaces, 0 blips, 0 blank, 0 ghost frames.

To decide: find what fills the ~13 ms gap after the flush (the stall is measured by a MessageChannel ping-pong, so it includes WebKit style/layout/paint after the synchronous flush, paintMs p95 is 38 ms) and bring it under 8 ms, or set the budget from a measured baseline on the release Mac. Desktop UI area (Linux agent owns apps/desktop outside crew per #348), filed for triage; not a .26 blocker.

主要言語
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 を短くまとめたダイジェスト。