add tps calculation

pull/43/head
Minh Doan 6 years ago
parent c8a83c9a9e
commit 4d97f8a2e8
  1. 1
      aws-experiment-launch/cal_tps.sh

@ -0,0 +1 @@
for file in $(ls *leader*); do echo $file; cat $file | grep TPS | head -n 2 | cut -f2 -d ":" | cut -f1 -d "," | awk '{ sum += $1; n++ } END { if (n > 0) print sum / n; }'; done
Loading…
Cancel
Save