Skip to content
This repository was archived by the owner on Aug 7, 2025. It is now read-only.

Commit 2f5a784

Browse files
mmeendez8agunapal
andauthored
Add path to generate profile graph image (#2451)
* Add path to generate prfile graph image * Fix pre-commit --------- Co-authored-by: Ankith Gunapal <agunapal@ischool.Berkeley.edu>
1 parent d31b6c3 commit 2f5a784

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

benchmarks/benchmark-ab.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -659,7 +659,10 @@ def plot_line(fig, data, color="blue", title=None):
659659
title="Combined Graph",
660660
)
661661
fig5.grid()
662-
plt.savefig("api-profile1.png", bbox_inches="tight")
662+
plt.savefig(
663+
f"{execution_params['report_location']}/benchmark/api-profile1.png",
664+
bbox_inches="tight",
665+
)
663666

664667

665668
def stop_torchserve():

0 commit comments

Comments
 (0)