Browse Source

increase font size of timing donuts from qdp bench for better readability

master
Constantin Fürst 11 months ago
parent
commit
fb2a8e445c
  1. BIN
      qdp_project/plots/plot-timing-cacheaccess.pdf
  2. BIN
      qdp_project/plots/plot-timing-distprefetch.pdf
  3. BIN
      qdp_project/plots/plot-timing-dram.pdf
  4. BIN
      qdp_project/plots/plot-timing-hbm.pdf
  5. BIN
      qdp_project/plots/plot-timing-prefetch.pdf
  6. 3
      qdp_project/plotter.py

BIN
qdp_project/plots/plot-timing-cacheaccess.pdf

BIN
qdp_project/plots/plot-timing-distprefetch.pdf

BIN
qdp_project/plots/plot-timing-dram.pdf

BIN
qdp_project/plots/plot-timing-hbm.pdf

BIN
qdp_project/plots/plot-timing-prefetch.pdf

3
qdp_project/plotter.py

@ -12,7 +12,7 @@ distprefetch_result = "./evaluation-results/distprefetch/qdp-xeonmax-distprefetc
tt_name = "rt-ns"
function_names = [ "scana-run", "scanb-run", "aggrj-run" ]
fn_nice = [ "Scan A, Filter", "Scan B, Prefetch", "Aggregate, Project + Sum" ]
fn_nice = [ "Scan A", "Scan B", "Aggregate" ]
def read_timings_from_csv(fname) -> tuple[list[float], list[str]]:
t = {}
@ -66,6 +66,7 @@ def main(data: tuple[list[float], list[str]], fname, unit):
kw["arrowprops"].update({"connectionstyle": connectionstyle})
ax.annotate(f"{data[1][i]} - {data[0][i]:2.2f} {unit}", xy=(x, y), xytext=(1.35*np.sign(x), 1.4*y), horizontalalignment=horizontalalignment, **kw)
plt.rcParams.update({'font.size': 18})
fig.savefig(os.path.join(output_path, fname), bbox_inches='tight')

Loading…
Cancel
Save