summaryrefslogtreecommitdiff
path: root/impl/performance/run-bench.sh
blob: 8ebdbbc3617f59e848895f845c66fcb8c9442bf1 (about) (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/bash

NUM=1
COUNT=1

while [[ `echo "$NUM < 100000" | bc` == "1" ]]
do
  echo -n "($NUM,"
  python generate-long.py $NUM > system.eqns
  echo `../build/main system.eqns 2>&1 >/dev/null | grep Time | egrep -o "[0-9]*\.[0-9]+"` ")"
  NUM=$(($NUM * 2))
  COUNT=$(($COUNT + 1))
done