louwrentius / fio-plot

Create charts from FIO storage benchmark tool output
BSD 3-Clause "New" or "Revised" License
370 stars 87 forks source link

fiolib/supporting: Allow for single scale factor #82

Closed jderrick closed 2 years ago

jderrick commented 2 years ago

A plot with a single scale factor will fail scale traversal with existing code.

Signed-off-by: Jonathan Derrick jonathan.derrick@linux.dev

jderrick commented 2 years ago

It ended up as a result of a bad fio run that produced a single unchanging iops The scale factor list was [{"scale": 1024, "label": "MB/s"}, None] The traversal failed on the None item

louwrentius commented 2 years ago

Thank you