#!/bin/bash
n=1000
doitfast()
{
  for i in `seq $n` ; do
    curl localhost:8080/cgi-bin/test1.$m?aap-noot-mies-wim  >/dev/null 2>&1
  done
}

doit()
{
  for i in `seq $n` ; do
    curl localhost:8080   > /dev/null 2>&1
  done
}

time doit

m=fcgi
time doitfast
m=cgi
time doitfast
