Fornax96 / sia_benchmark

Benchmarking tool for the Sia decentralized cloud

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Generate random test files and upload them

Fornax96 opened this issue · comments

We can use Nebulous's fastrand reader to generate them quickly: https://gitlab.com/NebulousLabs/fastrand

This function will be called every time a benchmark round finishes (every minute). It will make sure that there are at least the configured amount of files uploading ( #1 ), and that they exactly the configured size ( #1 ).

When a file finishes uploading it will remove it from disk. I can copy this code straight outta pixeldrain.

Done! 0e81d14