Proposal: `compare` command for two traces
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 初心者へのやさしさ
- 15/100
- issue の種類
- 機能追加
- 明瞭さ
- おおむね明確
- 活発さ
- 活発
- 技術スタック
- typescript
- 領域
- cli, performance
調査の方向性
This is a design proposal, not a ready change: the open questions on noise, the compare vs diff naming, and whether the command belongs in the CLI at all are unresolved. Before writing code, read the existing diff command and its aggregation of self time, plus the overview output it would reuse. Done means the maintainers have settled scope and naming, and a first version comparing one pair of traces is agreed on.
索引モデルが issue の本文から書いたものです。
説明
Follow-up to #9.
Use case
Check the impact of a change: record a trace on main and another on a PR branch, and see what changed. Today you run overview and other commands on both traces and compare the output by hand, or ask an agent to do it, which costs tokens and is easy to get wrong.
Sketch
trace-engine-cli compare baseline.json.gz candidate.json.gz
The output would include:
- Core Web Vitals per metric: baseline, candidate, delta and rating change (for example
good → needs-improvement). - Main thread busy time (total minus idle) per category. Idle is left out because two recordings rarely have the same length.
- Long task count and blocking time (sum of
dur - 50ms), namedblockingMsso it is not confused with Lighthouse TBT. - Top function regressions by self time, reusing the aggregation in
diff. - A warning if the main URLs differ.
Open questions
- Noise: one trace per side gives noisy CWV deltas. A first version could compare a single pair and focus on rating changes. A later version could accept several traces per side and compare medians.
- Naming:
diffcompares two windows in one trace, andcomparewould compare two traces. The names could be confusing. - Scope: does this belong in this CLI, or is it better left to the agent (run
overviewon both traces and compare)?
What are your main concerns about it?
- 主要言語
- TypeScript
- スター
- 15
- フォーク
- 4
- 平均マージ
- 1日 17時間
- マージ済み PR(30日)
- 22
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
ChromeDevTools/trace-engine-cli のほかの issue
-
難易度 4/5 3〜5日 初心者へのやさしさ 53/100
ChromeDevTools/trace-engine-cli#28 ·
メンテナーはふだん 1 日以内に返信
-
難易度 4/5 3〜5日 初心者へのやさしさ 48/100
ChromeDevTools/trace-engine-cli#27 ·
メンテナーはふだん 1 日以内に返信
-
難易度 5/5 1週間以上 初心者へのやさしさ 12/100
ChromeDevTools/trace-engine-cli#9 · コメント 5 件 ·
メンテナーはふだん 1 日以内に返信
ChromeDevTools/trace-engine-cli の issue をすべて見る
似ている issue
-
feature
難易度 1/5 1時間未満 初心者へのやさしさ 78/100
ChromeDevTools/chrome-devtools-mcp#3689 ·
メンテナーはふだん 1 日以内に返信
-
bug from-app needs-triage
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
nightly-labs/openbot#21303 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
ADORSYS-GIS/CoopData#282 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
OHDSI/Data2Evidence#3816 ·
メンテナーはふだん 3 日以内に返信
-
`ovsx verify` fails for a version older than the 100 newest of an extension対応中かも @trivikr が今日担当しました。 オープンcli
難易度 2/5 1〜3時間 初心者へのやさしさ 81/100
eclipse-openvsx/openvsx#2482 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信