Generate random test files and upload them
Fornax96 opened this issue · comments
Fornax commented
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.