benchmark-action / benchmark-action/github-action-benchmark

Improve wrapping on GitHub comments for benchmarks with long names

Aperta
#263 2 commenti 1 reazione 0 assegnatari Vedi su GitHub
enhancement
Lingua principale
TypeScript
Stelle
1.3k
Fork
184
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

I wonder if there is any way to improve the readability of the tables posted by this action when the benchmark names are too long. Take this one for example. We are finding it very hard to read the numbers given the last column gets wrapped.

Screenshot 2024-09-13 at 11 28 28 AM

Shorter benchmark names surely help, but it also sucks to sacrifice on their readability to make them fit... Maybe it would make sense to not put the benchmark case names on the first columns as code blocks using back ticks?

Or maybe there is a way to completely prevent the last column from wrapping? I much rather have the first column wrap.

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

Inizia individuando il codice che formatta le tabelle dei benchmark per i commenti di GitHub e riproduci l’esempio con un nome lungo mostrato nell’issue. Confronta il comportamento dell’andata a capo per i nomi dei benchmark e le colonne dei risultati, quindi verifica che i nomi lunghi rimangano leggibili senza rendere difficile scorrere l’ultima colonna dei 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à
3/5
Tempo stimato
1-2 giorni
Stato di attività
Ferma
Chiarezza
Abbastanza chiara
Idoneità per principianti
45/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.