Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/sh
- javac Benchmark.java
- total=0;
- for client in {1..100}
- do
- result="$(java -server Benchmark)"
- echo $result
- total=`echo $result + $total | bc -l`
- done
- echo total: $total
- average=`echo $total / 100 | bc -l`
- echo average: $average
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement