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

command line tools for data manipulation

Aperta
#249 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
TypeScript
Stelle
1.3k
Fork
183
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

Hey there - just an idea suggestion here 💡

As the years drag on, our benchmark data is getting large. It would be nice to have some command line tools to do decimation or combing of the data. In general, some commandline tools to help manage the .json file would maybe be useful to people ? Manipulating the file directly is difficult, but also it is hard to parse since it is a `.js` extension but the contents are expected to be strict JSON, so autoformatters like `prettier` will correct this file to be unusable by `benchmark-action`. The tooling ideas we had so far are:

## Data decimation
Go thru the file and remove a set fraction of the benchmarks after a certain age to reduce the number of data points.

## Remove a benchmark
Go thru the data.json file and delete all traces of a particular benchmark

## Rename a benchmark
Simply moves a benchmark name to occupy an unused namespace

## Merge an old file
Pull in an existing `data.json` into this one, so that old benchmarks can be carried on, extended, or presented separately for reference

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

Inizia tracciando il modo in cui benchmark-action legge attualmente il file dei benchmark, in particolare il contenuto di data.json memorizzato con un’estensione .js. Chiarisci l’ambito e l’interfaccia per il decimamento, la rimozione dei benchmark, la ridenominazione e l’unione, quindi definisci test che verifichino che ogni operazione preservi un JSON rigoroso valido.

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

Valutazione

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

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.