|
|
@ -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') |
|
|
|
|
|
|
|
|
|
|
|