Fast IFS using RPN notation
python
c
x86-64
nasm
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

benchplot.sh 472B

1234567891011121314151617181920212223242526272829303132
  1. #!/bin/sh
  2. gpdat=/tmp/bench.dat
  3. e=500
  4. min_i=10000
  5. max_i=100000
  6. it_i=1
  7. min_s=10
  8. max_s=10000
  9. it_s=30
  10. if [ $it_i -eq 1 ]
  11. then
  12. inc_i=$max_i
  13. else
  14. inc_i=$(expr $(expr $max_i - $min_i) / $(expr $it_i - 1))
  15. fi
  16. inc_s=$(expr $(expr $max_s - $min_s) / $(expr $it_s - 1))
  17. for i in $(seq $min_i $inc_i $max_i)
  18. do
  19. for s in $(seq $min_s $inc_s $max_s)
  20. do
  21. echo "GO $e $i $s"
  22. PYTHONPATH=./ python3 tests/benchmark.py -c $e -i $i -s $s -G $gpdat
  23. done
  24. echo "" >> $gpdat
  25. done