Skip to content

Commit

Permalink
Merge branch 'main' of github.com:QuState/PhastFT
Browse files Browse the repository at this point in the history
  • Loading branch information
smu160 committed Feb 3, 2024
2 parents a35f765 + 39668a4 commit 9faf970
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
2 changes: 0 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
workspace = { members = ["utilities"] }

[package]
name = "phastft"
version = "0.1.0"
Expand Down
5 changes: 2 additions & 3 deletions benches/benchmark_plots.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,15 +60,14 @@ def plot_lines(data: dict[str, list], n_range: range) -> None:
)

df.plot(kind="bar", linewidth=3, rot=0)

plt.xticks(fontsize=9, rotation=-45)
plt.yticks(fontsize=9)
plt.xlabel("size of input")
plt.ylabel("time taken (relative to RustFFT)")
plt.legend(loc="best")
plt.tight_layout()
plt.savefig("benchmarks_bar_plot.png", dpi=600)
# plt.show()
plt.show()


def main():
Expand All @@ -78,7 +77,7 @@ def main():
all_data = {}

for lib in lib_names:
data = build_and_clean_data("benchmark-data.2024.02.02.16-45-50", n_range, lib)
data = build_and_clean_data("benchmark-data.2024.02.02.19-10-51", n_range, lib)
all_data[lib] = data

assert (
Expand Down

0 comments on commit 9faf970

Please sign in to comment.