Fix typo, change program count to 100 to reduce time spent on finding files
parent
3f9c5804e9
commit
294576333c
|
@ -4,17 +4,17 @@ set -e
|
||||||
mkdir temp
|
mkdir temp
|
||||||
cd temp
|
cd temp
|
||||||
|
|
||||||
for i in {1..1000}
|
for i in {1..100}
|
||||||
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..1000}
|
for i in {1..100}
|
||||||
do
|
do
|
||||||
for _ in {1..1000}
|
for _ in {1..10000}
|
||||||
do
|
do
|
||||||
int_get=$RANDOM
|
int_get=$RANDOM
|
||||||
echo "${int_get}\n$(int_get + 123)\n" >> "benchmark-program-1-${i}.cases"
|
echo "${int_get}\n$((int_get + 123))\n" >> "benchmark-program-1-${i}.cases"
|
||||||
done
|
done
|
||||||
done
|
done
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue