Added avl height benchmark

This commit is contained in:
2025-05-06 19:02:00 +02:00
parent e45091b066
commit 93311c4ad5
12 changed files with 328 additions and 94 deletions
+1 -2
View File
@@ -44,8 +44,7 @@ def plot(program_name, sequences, array_size):
plt.savefig(f"./benchmarks/{program_name}.png")
if __name__ == "__main__":
# program_names = ["insertion", "selection", "heapsort", "mergesort"]
program_names = ["heapsort"]
program_names = ["insertion", "selection", "heapsort", "mergesort"]
sequence_types = ["random", "sorted", "reversed", "constant", "v_shaped"]
array_sizes = [i for i in range(1000, 15001, 1000)]
tests = 10