Skip to content

Commit

Permalink
add current benchmarks as Excel file
Browse files Browse the repository at this point in the history
  • Loading branch information
svpolonsky committed Dec 18, 2023
1 parent 79950e1 commit 2c41756
Show file tree
Hide file tree
Showing 4 changed files with 30 additions and 4 deletions.
Binary file added benchmarks.xlsx
Binary file not shown.
7 changes: 6 additions & 1 deletion scripts/reports/README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
### Report generator

This script will generate a report on all tables in the benchmark DB
This script will format a report on all tables into Excel file. From project root directory run:

```sh
python3 ./scripts/reports/report-all.py
```

4 changes: 2 additions & 2 deletions scripts/reports/report-all.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
23 changes: 22 additions & 1 deletion scripts/view-ntt.sh
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit 2c41756

Please sign in to comment.