Commit c693dcea authored by Martin Larralde's avatar Martin Larralde
Browse files

Add bench plot for next patch release

parent 252f5db0
......@@ -43,7 +43,7 @@ for color, (backend, group) in zip(
reg = scipy.stats.linregress(X, Y)
plt.plot([ 0, max(X) ], [ reg.intercept, reg.slope*max(X) + reg.intercept ], color=color, linestyle="--", marker="")
# ci = [1.96 * r["stddev"] / math.sqrt(len(r["times"])) for r in group]
plt.scatter(X, Y, marker="+", color=color, label=f"{backend} (R={reg.rvalue:.3f})")
plt.scatter(X, Y, marker="+", color=color, label=f"{backend} (R²={reg.rvalue**2:.3f})")
plt.legend()
plt.xlabel("Node count")
plt.ylabel("Time (s)")
......@@ -60,7 +60,7 @@ for color, (backend, group) in zip(
reg = scipy.stats.linregress(X, Y)
plt.plot([ 0, max(X) ], [ reg.intercept, reg.slope*max(X) + reg.intercept ], color=color, linestyle="--", marker="")
# ci = [1.96 * r["stddev"] / math.sqrt(len(r["times"])) for r in group]
plt.scatter(X, Y, marker="+", color=color, label=f"{backend} (R={reg.rvalue:.3f})")
plt.scatter(X, Y, marker="+", color=color, label=f"{backend} (R²={reg.rvalue**2:.3f})")
plt.legend()
plt.xlabel("Nucleotide count (Mbp)")
plt.ylabel("Time (s)")
......
This diff is collapsed.
This diff is collapsed.
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment