commercetools / commercetools/commercetools-sync-java

[Hacktoberfest] Improve benchmark UI, show the results of the last N releases.

Aperta
#771 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Hacktoberfest
Lingua principale
Java
Stelle
40
Fork
41
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

**Situation**:

Benchmark test results are written as JSON to [benchmarks.json](https://commercetools.github.io/commercetools-sync-java/benchmarks/benchmarks.json) which is saved in the gh-pages branch of the repo. The JSON used as a source for the chart UI.

Results as a chart can be found: https://commercetools.github.io/commercetools-sync-java/benchmarks/
Screenshot 2021-09-24 at 10 20 27

**Complication:**

The current benchmark chart has more than 20 items and increasing on every release,
Also in the graph, we are pointing to the hash of the commit, but it’s not easy to reason and compare it based on the releases.

**Resolution:**
Show the results of the last N releases (N might be sth easy to reason from the chart, let's say 5) and backup the history to another file. For the label, try showing the release number instead of commit hash.

[CONTRIBUTING](https://github.com/commercetools/commercetools-sync-java/blob/master/docs/CONTRIBUTING.md), [CODE_OF_CONDUCT](https://github.com/commercetools/commercetools-sync-java/blob/master/docs/CODE_OF_CONDUCT.md)

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.