filecoin-project / retrieval-load-testing

Other
4 stars 1 forks source link

Aggregate results from test runs to CSV #7

Closed hannahhoward closed 1 year ago

hannahhoward commented 1 year ago

What

At the end of a load tests, we want to aggregate overall results from various test runs into a CSV, where each row contains:

parameters

- Protocol (HTTP, Bitswap)
- Scenario (example for HTTP Full piece / small piece / range)
- Concurrency
- Latency (leave blank for now)
- Bandwidth (leave blank for now)

Acceptance Criteria

At the end of running loadtest.sh, a CSV is generated in the requested format

Including headers would be nice as well.

kylehuntsman commented 1 year ago

I have since updated the way the summary json files are saved. In fact, the new way that makes the file contents easier to distinguish for humans might make this ticket harder. PR can be found here #10

We could trash the entire out directory on subsequent runs. If we do that, then you can basically just read every json file in a test directory without having to know the details of it's name.