feat: Time+memory tracking

This commit is contained in:
Tibo De Peuter 2025-12-07 21:49:45 +01:00
parent 59722acf76
commit ee4d94e157
Signed by: tdpeuter
GPG key ID: 38297DE43F75FFE2
7 changed files with 456 additions and 0 deletions

12
benchmark.py Normal file
View file

@ -0,0 +1,12 @@
from main import main
from src.utils.benchmark import execute_benchmark
from src.utils.benchmark_dataclasses import BenchmarkItem
def benchmark():
# Just calling `main` is the easiest way to allow all functionality
execute_benchmark(benchmark_item=BenchmarkItem(task=main, arguments={}), results_dir="results")
if __name__ == "__main__":
benchmark()