Skip to content

Commit 9de86e7

Browse files
committed
Fix output name plot_per_benchmark
1 parent 7f5ddf3 commit 9de86e7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plot_benchmarks.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ def read_data(filename):
1616
data = json.load(read_file)
1717
df = pd.DataFrame.from_dict(data["benchmarks"]).astype({"real_time": float})
1818
df = df[df["run_type"] == "aggregate"]
19-
df["benchmark"] = df["name"].apply(lambda x: x.split('/')[0])
19+
df["benchmark"] = df["name"].apply(lambda x: x.split('/')[1].split('_')[1])
2020
return df
2121

2222
def plot_per_benchmark(all_data, out_dir):

0 commit comments

Comments
 (0)