diff --git a/benchmarks.xlsx b/benchmarks.xlsx new file mode 100644 index 0000000..0912dbb Binary files /dev/null and b/benchmarks.xlsx differ diff --git a/scripts/reports/README.md b/scripts/reports/README.md index 2197da4..1b8167a 100644 --- a/scripts/reports/README.md +++ b/scripts/reports/README.md @@ -1,3 +1,8 @@ ### Report generator -This script will generate a report on all tables in the benchmark DB \ No newline at end of file +This script will format a report on all tables into Excel file. From project root directory run: + +```sh +python3 ./scripts/reports/report-all.py +``` + diff --git a/scripts/reports/report-all.py b/scripts/reports/report-all.py index 1fad5ff..168df3b 100644 --- a/scripts/reports/report-all.py +++ b/scripts/reports/report-all.py @@ -56,7 +56,7 @@ ws.cell(row=row_headers+1+i, column=2, value=pow(2,n)) table_name = "msm_benchmark" -device_types=['RTX 3090','RTX 4090'] +device_types=['NVIDIA GeForce RTX 3090','NVIDIA GeForce RTX 4090'] for j, device_type in enumerate(device_types): ws_col=col_headers + 2*j + 1 @@ -165,7 +165,7 @@ ws.cell(row=row_headers+i, column=2, value=pow(2,n)) table_name = "ntt_benchmark" -device_types=['RTX 3090','RTX 4090'] +device_types=['NVIDIA GeForce RTX 3090','NVIDIA GeForce RTX 4090'] for j, device_type in enumerate(device_types): ws_col=col_headers + 2*j + 1 diff --git a/scripts/view-ntt.sh b/scripts/view-ntt.sh index 09cbd59..aaedc86 100755 --- a/scripts/view-ntt.sh +++ b/scripts/view-ntt.sh @@ -1,7 +1,28 @@ #!/bin/bash set -e # Exit immediately if a command exits with a non-zero status -QUERY="SELECT * FROM ntt_benchmark;" +#QUERY="SELECT * FROM ntt_benchmark;" +QUERY="SELECT + team, + project, + test_timestamp, + git_id, + frequency_MHz, + vector_size, + batch_size, + runtime_sec, + power_Watt, + chip_temp_C, + comment, + hw_platform.device AS device, + finite_field.name AS finite_field +FROM + ntt_benchmark +JOIN + hw_platform ON ntt_benchmark.runs_on = hw_platform.id +JOIN + finite_field ON ntt_benchmark.uses = finite_field.id; +" ################################ # Do not modify below this line