Proposal: `compare` command for two traces
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
- 15/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ệ
- typescript
- Lĩnh vực
- cli, performance
Hướng nghiên cứu
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.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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?
- Ngôn ngữ chính
- TypeScript
- Star
- 15
- Fork
- 4
- Merge trung bình
- 1 ngày 17 giờ
- Pull request đã merge (30 ngày)
- 22
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- 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.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của ChromeDevTools/trace-engine-cli
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 53/100
ChromeDevTools/trace-engine-cli#28 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 48/100
ChromeDevTools/trace-engine-cli#27 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 12/100
ChromeDevTools/trace-engine-cli#9 · 5 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của ChromeDevTools/trace-engine-cli
Issue tương tự
-
feature
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 78/100
ChromeDevTools/chrome-devtools-mcp#3689 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
[Bug]: Team (channel) avatars render noticeably smaller than agent avatars in the sidebar gridĐang mởbug from-app needs-triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
nightly-labs/openbot#21303 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
ADORSYS-GIS/CoopData#282 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
OHDSI/Data2Evidence#3816 ·
Maintainer thường phản hồi trong vòng 3 ngày
-
`ovsx verify` fails for a version older than the 100 newest of an extensionCó thể đã có người làm @trivikr đã nhận hôm nay. Đang mởcli
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 81/100
eclipse-openvsx/openvsx#2482 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày