Browse Source

export plots from the benchmarks as pdf for scalability and integration with thesis

master
Constantin Fürst 11 months ago
parent
commit
ba9dae8bde
  1. 2
      benchmarks/benchmark-plotters/plot-cost-mtsubmit.py
  2. 2
      benchmarks/benchmark-plotters/plot-perf-peakthroughput-bar.py
  3. 2
      benchmarks/benchmark-plotters/plot-perf-submitmethod.py

2
benchmarks/benchmark-plotters/plot-cost-mtsubmit.py

@ -94,7 +94,7 @@ def main():
sns.barplot(x=x_label, y=y_label, hue=var_label, data=df, palette="rocket", errorbar="sd") sns.barplot(x=x_label, y=y_label, hue=var_label, data=df, palette="rocket", errorbar="sd")
plt.savefig(os.path.join(output_path, "plot-perf-mtsubmit.png"), bbox_inches='tight')
plt.savefig(os.path.join(output_path, "plot-perf-mtsubmit.pdf"), bbox_inches='tight')
plt.show() plt.show()

2
benchmarks/benchmark-plotters/plot-perf-peakthroughput-bar.py

@ -79,7 +79,7 @@ def plot_bar(table,title,node_config):
plt.ylim(0, 100) plt.ylim(0, 100)
plt.savefig(os.path.join(output_path, f"plot-perf-{node_config}-throughput-selectbarplot.png"), bbox_inches='tight')
plt.savefig(os.path.join(output_path, f"plot-perf-{node_config}-throughput-selectbarplot.pdf"), bbox_inches='tight')
plt.show() plt.show()

2
benchmarks/benchmark-plotters/plot-perf-submitmethod.py

@ -101,7 +101,7 @@ def main():
sns.barplot(x=x_label, y=y_label, hue=var_label, data=df, palette="rocket", errorbar="sd") sns.barplot(x=x_label, y=y_label, hue=var_label, data=df, palette="rocket", errorbar="sd")
plt.savefig(os.path.join(output_path, "plot-opt-submitmethod.png"), bbox_inches='tight')
plt.savefig(os.path.join(output_path, "plot-opt-submitmethod.pdf"), bbox_inches='tight')
plt.show() plt.show()
if __name__ == "__main__": if __name__ == "__main__":
Loading…
Cancel
Save