benchmark-action / benchmark-action/github-action-benchmark
Custom type with combined bigger/smaller is better
Nessuno ha ancora preso questa issue.
- Lingua principale
- TypeScript
- Stelle
- 1.3k
- Fork
- 183
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
In addition to customBiggerIsBetter and customSmallerIsBetter it would be nice to just have a simple custom type where the JSON output would include "better": "bigger" or "better": "smaller" so that a single benchmark could make use of both. For example, I might want to measure both memory use (smaller is better) and throughput (bigger is better) for a single benchmark. While I could potentially save the results to a file and split them apart into two separate benchmark outputs, it would be simpler if this was not necessary.
EDIT: Having a quick look at the current code structure, I can see this probably isn't easy to do but it still would be nice :)
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Direzione di ricerca
Leggi gli attuali percorsi del codice per customBiggerIsBetter e customSmallerIsBetter, quindi traccia come i loro risultati vengono rappresentati nell'output JSON. Definisci come un tipo personalizzato combinato esprimerebbe che è meglio avere valori maggiori o minori e come un benchmark può riportare entrambe le misurazioni; il lavoro è completato quando l'output supporta entrambe le direzioni senza suddividere i risultati.
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à
- 5/5
- Tempo stimato
- Più di una settimana
- Stato di attività
- Ferma
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 30/100