Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

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

Aperta
#5,691 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
25/100
Tipo di issue
Funzionalità
Chiarezza
Da chiarire
Stato di attività
Ferma
Stack tecnologico
nodejs, typescript

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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 --help
  • rush check
  • rush change --no-fetch --verify (--no-fetch is important to avoid externalities, and should really be the default)
  • rush install (after having already installed, we're checking the "nothing to do" state)
Lingua principale
TypeScript
Stelle
6.5k
Fork
708
Merge medio
2g 1h
PR unite (30g)
46

Preparare l'ambiente

Non abbiamo ancora controllato i file di configurazione di questo progetto. Parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di microsoft/rushstack

Tutte le issue di microsoft/rushstack

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.