Reduce benchmark size
Benchmarks / Run-Benchmarks (push) Has been cancelled Details
Tests / Run-Tests (push) Successful in 7s Details

main
drunkendog 2023-09-25 20:03:31 +01:00
parent 61c6e8a290
commit e139066905
1 changed files with 3 additions and 3 deletions

View File

@ -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"