Make sure you have atleast Java 8 installed on your computer.
Enter command:
java -jar TreeTimeComplexity.jar
Or enter
chmod +x TreeTimeComplexity.jar
and double click it from your file browser.
Make sure you are in TreeTimeComplexity folder (not same as root folder).
On linux enter commands:
chmod +x gradlew
./gradlew run
On windows enter command:
gradlew.bat run
- Pick which operations you want to benchmark by ticking the checkboxes.
- Enter the size of generated input data. Preferably below 10 000 if your iterations are closed 100. Depends how patietnly can you waut
- Enter the number of iterations you want the benchmark to run. Makes averages more accurate.
- Pick from the dropdown menu do you want the input data to be in random order or sorted by ascending or descending order.
- When you are ready press Run Benchmark
After a while you should have a barchart of averages and a list of mix-/max-values