[rush] Add auditing in rushstack CI/CD to catch performance regressions
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
- 25/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Cần làm rõ
- Mức độ hoạt động
- Đình trệ
- Công nghệ
- nodejs, typescript
- Lĩnh vực
- ci-cd, performance, tooling
Hướng nghiên cứu
Start by reviewing the related concept in issue #5690 and the proposed Rush scenarios: rush --help, rush check, rush change --no-fetch --verify, and an already-installed rush install. Done means benchmark data is generated, a main-branch reference is maintained, and PR CI compares results to identify regressions or improvements.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Summary
We should add a benchmark test project that runs various common scenarios for Rush, leveraging V8 code coverage to collect information on:
| item | unit | source |
|---|---|---|
| Executed Code | KiB | V8 Code Coverage |
| Unused Code | KiB | V8 Code Coverage |
| Loaded Code | KiB | V8 Code Coverage |
| Loaded Files | # | V8 Code Coverage |
| Duration | ms | time / cpuprofile |
Once we have this data being generated, we should have a baseline CI pipeline that calculates a new reference value for every commit into main, and then have the PR CI job do performance comparisons and look for regressions/improvements. This will help us catch performance regressions and give us a standard for evaluating impact of optimizations.
This is the same concept as #5690 , but targeting @microsoft/rush.
Candidates for benchmarking:
rush --helprush checkrush change --no-fetch --verify(--no-fetchis important to avoid externalities, and should really be the default)rush install(after having already installed, we're checking the "nothing to do" state)
- Ngôn ngữ chính
- TypeScript
- Star
- 6.5k
- Fork
- 708
- Merge trung bình
- 5 ngày 19 giờ
- Pull request đã merge (30 ngày)
- 48
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
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 microsoft/rushstack
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 48/100
Tất cả issue của microsoft/rushstack
Issue tương tự
-
blocklist removal
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
MetaMask/eth-phishing-detect#296544 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
pastelsky/bundlephobia#1122 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
-
category/development priority/P2 scope/file-operations scope/testing type/enhancement
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
-
Enatega Customer and Rider app: Add-ons price is not visible to customer after order is placed. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100