This project will help you estimate latency and linear read speed for files in a folder.
It was created to compare different NTFS compression algorithms using a single folder with test files.
Please note that your operating system will likely cache the test files in RAM memory.
Make sure you have Java 8 installed.
Prepare a test folder with at least 4 identical files (you can use CTRL+C and CTRL+V).
For latency testing, it is recommended to use a few hundred small files.
If each file is less than 1 MB, a latency test will be initiated. Otherwise, a speed test will be performed.
To run the benchmark, use the following command:
java -jar Benchmark.jar <Absolute path to a folder>
Clean up any RAM caches using RAMMap (Empty -> Empty Standby List or run rammap -Et)
Run the benchmark.
Repeat these steps until your results become similar.