Revamp benchmarks to use fio JSON format #143
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
When implementing Benchmarks I used a convoluted analysis and storage of certain aspects of the
terse
output format. However, this lost a lot of information, and it turns out thatfio
already had an in-built JSON output format. So we should switch to that instead.This is a multipart migration:
Add a DB field in the Benchmark table to track the test version.
0
by default,1
with the new version.Return the test version field in the output of the API calls.
Reimplement the client formatting to handle whichever result is returned. That way clients can still see the legacy-formatted tests as well as new-formatted tests.
Add a
--format
output option tostorage benchmark info
to either format or dump the output.Update to test format 1 and new options for tests including the new output version and some other tweaks.
While this is a fair bit of work for, admittedly, little benefit outside of the few clusters I already run, I don't think keeping the old codepaths is that big of a deal and the new version field will allow future format changes as well (for instance if we add new test types).
changed the description
changed the description
1, 2, 3 and 4 are (mostly) implemented. The completion of 3 requires 5 to be completed so we know how to format it.
mentioned in commit
5b27e438a9
changed the description
closed