Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

[heft] Add auditing in rushstack CI/CD to catch performance regressions

Đang mở
#5,690 0 bình luận 1 reaction 0 người được giao Xem trên GitHub

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
30/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ệ
node.js, typescript
Lĩnh vực
ci-cd, performance, tooling

Hướng nghiên cứu

Review issue #5691 for the related benchmarking approach, then examine the @rushstack/heft scenarios named here: heft --help, build runs, and test runs in demo projects using published rigs. Determine how V8 code coverage and timing or CPU profiles can provide the listed metrics. Done means benchmarks generate a baseline for main and PR CI compares results for 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 Heft, 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 #5691 , but targeting @rushstack/heft

Candidates for benchmarking

  • heft --help
  • heft run --only build in demo projects using our published rigs.
  • heft run --only test in demo projects using our published rigs.
Ngôn ngữ chính
TypeScript
Star
6.5k
Fork
710
Merge trung bình
2 ngày 1 giờ
Pull request đã merge (30 ngày)
46

Chuẩn bị môi trường

Mở trong Codespaces

Khởi chạy dev container của dự án ngay trên trình duyệt, bằng tài khoản GitHub của bạn.

  • Không có Dockerfile hay tệp Docker Compose
  • Có mẫu pull request
  • Không có hướng dẫn đóng góp

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. 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.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của microsoft/rushstack

Tất cả issue của microsoft/rushstack

Issue tương tự

Thêm issue về TypeScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.