Skip to content

Commit

Permalink
benchmark up to 42 clients
Browse files Browse the repository at this point in the history
  • Loading branch information
bbengfort committed Jul 26, 2018
1 parent d6c4a54 commit 6bba921
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions fixtures/bench.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@
RESULTS="throughput.csv"

RUNS=12
MIN_CLIENTS=26
MAX_CLIENTS=38
MIN_CLIENTS=1
MAX_CLIENTS=42

# Describe the time format
TIMEFORMAT="experiment completed in %2lR"

time {
# Write header to the output file
#echo "clients,messages,duration,throughput,version" >> $RESULTS
echo "clients,messages,duration,throughput,version" >> $RESULTS

# Run the experiment for each clients $RUNS times
for (( I=0; I<=$RUNS; I+=1 )); do
Expand Down
Binary file modified fixtures/benchmark.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions fixtures/viz.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ def draw_line_benchmark(df, ax):
ax.set_xlim(1, max_clients)
ax.set_ylabel("throughput (requests/second)")
ax.set_xlabel("concurrent clients")
ax.set_title("Ipseity Benchmark")
ax.set_title("Raft Benchmark")
ax.legend(frameon=True)
return ax

Expand All @@ -63,7 +63,7 @@ def draw_bar_benchmark(df, ax):
g = sns.barplot('clients', 'throughput', hue='version', ax=ax, data=df)
ax.set_ylabel("")
ax.set_xlabel("concurrent clients")
ax.set_title("Ipseity Benchmark")
ax.set_title("Raft Benchmark")
return ax


Expand Down

0 comments on commit 6bba921

Please sign in to comment.