Reduce benchmark size
parent
61c6e8a290
commit
e139066905
|
@ -4,14 +4,14 @@ set -e
|
||||||
mkdir temp
|
mkdir temp
|
||||||
cd temp
|
cd temp
|
||||||
|
|
||||||
for i in {1..10}
|
for i in {1..5}
|
||||||
do
|
do
|
||||||
cp "../benchmark-program-1.c" "benchmark-program-1-${i}.c"
|
cp "../benchmark-program-1.c" "benchmark-program-1-${i}.c"
|
||||||
done
|
done
|
||||||
|
|
||||||
for i in {1..10}
|
for i in {1..5}
|
||||||
do
|
do
|
||||||
for _ in {1..10000}
|
for _ in {1..1000}
|
||||||
do
|
do
|
||||||
int_get=$RANDOM
|
int_get=$RANDOM
|
||||||
echo -e "${int_get}\n$((int_get + 123))\n" >> "benchmark-program-1-${i}.cases"
|
echo -e "${int_get}\n$((int_get + 123))\n" >> "benchmark-program-1-${i}.cases"
|
||||||
|
|
Loading…
Reference in New Issue