Skip to content

Commit b90325c

Browse files
committed
chore: adjust report styling
1 parent a798937 commit b90325c

11 files changed

+2
-2
lines changed

reports/__assets__/check_time.png

-8.38 KB
Loading

reports/__assets__/files.png

-6.84 KB
Loading

reports/__assets__/i_o_read_time.png

-6.38 KB
Loading

reports/__assets__/identifiers.png

-9.95 KB
Loading

reports/__assets__/memory_used.png

-9.85 KB
Loading

reports/__assets__/parse_time.png

-7.77 KB
Loading

reports/__assets__/program_time.png

-8.52 KB
Loading

reports/__assets__/symbols.png

-7.96 KB
Loading

reports/__assets__/total_time.png

-8.44 KB
Loading

reports/__assets__/types.png

-9.23 KB
Loading

reports/benchmark_plotter.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ def _plotMetric(self, metricName: str, unit: str):
4646
df = df.sort_values(by=[metricName], ascending=False)
4747
grouped = df.groupby(by=["Name"])
4848

49-
fig = plt.figure(figsize=(8, 15))
49+
fig = plt.figure(figsize=(8, 20))
5050
fig.suptitle(f"{metricName} comparison", fontsize=24)
5151

5252
for i, (names, group) in enumerate(grouped):
@@ -58,5 +58,5 @@ def _plotMetric(self, metricName: str, unit: str):
5858
ax.plot()
5959

6060
fileName = metricName.replace(" ", "_").replace("/", "_").lower()
61-
plt.subplots_adjust(wspace=0, hspace=0.8)
61+
plt.subplots_adjust(wspace=0, hspace=1)
6262
plt.savefig(os.path.join(self.dir, f"{fileName}.png"))

0 commit comments

Comments
 (0)