Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
#!/bin/sh

REPO=http://localhost:8983/fedora
BATCHES=100
OBJ=100
DS=10241K

N=0
while [ $N -lt $BATCHES ]; do
   N=$(( $N + 1 ))
   echo "$N ================================================================"
   java -jar target/bench-tool-0.0.1-SNAPSHOT-jar-with-dependencies.jar -f $REPO -u fedoraAdmin -p fedoraAdmin -n $OBJ -s $DS
done

...

Code Block
#!/bin/sh

REPO=http://localhost:8080
BATCHES=100
OBJ=100
DS=10241K
THREADS=1

N=0
while [ $N -lt $BATCHES ]; do
   N=$(( $N + 1 ))
   echo "$N ================================================================"
   java -jar target/bench-tool-0.0.1-SNAPSHOT-jar-with-dependencies.jar -f $REPO -n $OBJ -s $DS -t $THREADS
done