-- PERFORMANCE TESTING --
script perf.sh
#!/bin/sh
set -i n
n=1
echo $n
while [ $n -le 100 ]
do
echo $n
echo A
wget http://sbra.olotltd.com
echo B
wget http://sbra.olotltd.com/?q=upcoming_rides
echo C
wget http://sbra.olotltd.com/?q=calendar
echo D
wget http://sbra.olotltd.com/?q=forum/11
(( n = n + 1));
done
running it:
$ time ./perf.sh
... starting slow, until the cache kicks in (if enabled) ...
real 0m12.837s
user 0m0.078s
sys 0m0.171s