Slide 46
Slide 46 text
Experiment codes
ab -g bench-rails.tsv \
-s 120 -c 1 -t 90 -n 1000000 -k -l http://192.168.199.10/
import numpy as np
import matplotlib.pyplot as plt
data = np.loadtxt("/path/to/bench-rails.tsv", delimiter="\t",
skiprows=1, usecols=(1,4), dtype=int)
data = np.rot90(sorted(data, key=lambda x:x[0]), k=-1)
plt.plot(data[0], data[1], linewidth=1, color="orange")
plt.ylim(0, 2700)
plt.show()
Benchmarker
Script
For Visualize