Advertisement
Guest User

Untitled

a guest
Jul 27th, 2017
56
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.24 KB | None | 0 0
  1. #!/bin/sh
  2.  
  3. javac Benchmark.java
  4. total=0;
  5. for client in {1..100}
  6. do
  7. result="$(java -server Benchmark)"
  8. echo $result
  9. total=`echo $result + $total | bc -l`
  10. done
  11. echo total: $total
  12. average=`echo $total / 100 | bc -l`
  13. echo average: $average
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement