Skip to content

Commit

Permalink
Add path to generate profile graph image (#2451)
Browse files Browse the repository at this point in the history
* Add path to generate prfile graph image

* Fix pre-commit

---------

Co-authored-by: Ankith Gunapal <[email protected]>
  • Loading branch information
mmeendez8 and agunapal authored Jul 13, 2023
1 parent d31b6c3 commit 2f5a784
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion benchmarks/benchmark-ab.py
Original file line number Diff line number Diff line change
Expand Up @@ -659,7 +659,10 @@ def plot_line(fig, data, color="blue", title=None):
title="Combined Graph",
)
fig5.grid()
plt.savefig("api-profile1.png", bbox_inches="tight")
plt.savefig(
f"{execution_params['report_location']}/benchmark/api-profile1.png",
bbox_inches="tight",
)


def stop_torchserve():
Expand Down

0 comments on commit 2f5a784

Please sign in to comment.