added script to get average runtime of release

parent 19502150
Pipeline #84 passed with stages
in 2 minutes and 7 seconds
#!/bin/bash
start=$(date +%s.%N)
nbloops=10
for i in `seq 1 $nbloops`; do
./bin/surfaces-unies -c -i ./img/asterix.ppm
done
end=$(date +%s.%N)
runtime=$(python -c "print((${end} - ${start}) / ${nbloops})")
echo "Average runtime was $runtime"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment