benchmark-action / benchmark-action/github-action-benchmark
Allow choice of benchmark stat used for `pytest`
- Lingua principale
- TypeScript
- Stelle
- 1.3k
- Fork
- 184
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
`pytest-benchmark` automatically computes a fairly comprehensive set of stats across multiple runs of each benchmark, including minimum, mean, median, etc. runtime, and Operations Per Second (calculated as the inverse of the mean runtime).
It's commonly recommended that benchmark comparisons use the minimum runtime, as it is more stable than other statistics. However, the actions are currently hardcoded to use the `ops` statistic.
Is it possible to make this configurable?
(This request may apply more widely than `pytest`, but I'm not familiar with the other output formats that are handled)
Guida per i contributori
Apri la guida per i contributori
Direzione di ricerca
Inizia individuando la gestione dei benchmark pytest e l’uso hardcoded della statistica ops, quindi esamina come vengono gestiti gli altri formati di output. Il lavoro è completato quando la statistica di benchmark selezionata è configurabile senza compromettere i confronti o i formati di output esistenti; nell’issue non sono indicati file o test specifici.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- github-actions, typescript
- Ambito
- ci-cd
- Tipo di issue
- Funzionalità
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Stato di attività
- Ferma
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 35/100