systems-nuts / unifico

Compiler and build harness for heterogeneous-ISA binaries with the same stack layout.
4 stars 1 forks source link

Add option to sort data in plot_barchart #255

Closed blackgeorge-boom closed 1 year ago

blackgeorge-boom commented 1 year ago

The index of the DataFrame that is plotted is usually the name of the benchmarks. It's useful to have the option to sort them alphabetically, so that different unordered data sheets can be plotted in the same fashion. Otherwise, we have to impose an order ourselves in the data sheet.

This is added as an option in case we actually want to show a different order than the alphabetical.

blackgeorge-boom commented 1 year ago

This is based on a discussion with @PeiMu

blackgeorge-boom commented 1 year ago

Actually, this needs a small fix, so that we can leave the aggregate numbers at the end.

blackgeorge-boom commented 1 year ago

Ok, this is ready @compor