Add WAIT between multi-sessions
authorAdam Dickmeiss <adam@indexdata.dk>
Fri, 12 Mar 2010 16:22:24 +0000 (17:22 +0100)
committerAdam Dickmeiss <adam@indexdata.dk>
Fri, 12 Mar 2010 16:22:24 +0000 (17:22 +0100)
perf/bash/par.sh

index 085e4fc..236907f 100755 (executable)
@@ -1,5 +1,6 @@
 #!/bin/bash
 DELAY=0.001
+WAIT=5
 NUMBER=40
 ROUNDS=5
 let r=0
@@ -11,6 +12,7 @@ while test $r -lt $ROUNDS; do
                sleep $DELAY
                let i=$i+1
        done
+       sleep $WAIT
        let r=$r+1
 done
 wait