1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/bash --norc
 
set -e
set -u
 
# Un-comment ONE of these lines to run each different program
# runprog="python3 pylist.py"
runprog="./array1"
# runprog="./array5"
# runprog="./array_double"
 
for i in {0..1000000..100000}; do
  seconds=$($runprog $i)
  echo -e "$i\t$seconds"
done