Some speedup

I started using pmwiki for www.ribalba.de a few weeks ago. I put pmwiki in a folder on my server and then needed a solution to redirect from the index page to that folder. Edd suggested a php secipt that would change the header.
<?php
header( 'Location: http://www.ribalba.de/pmwiki/' ) ;
?>
and this worked fine, but it took ages for the page to load. So I did some benchmarking
Static HTML
real 0m39.731s
user 0m0.206s
sys 0m0.659s

PmWiki with php redirect
real 4m16.862s
user 0m0.260s
sys 0m0.717s

Just PmWiki
real 4m7.132s
user 0m0.259s
sys 0m0.743s
So what can we conclude? pmwiki is not a fast wiki and that the redirect took just a little time.
So now I have the start page as static html and if someone want's more information he has to wait.

Update: Of course the time is the average of 100 Queries

2 comments:

Slinky said...
This comment has been removed by the author.
Slinky said...

Am I being thick? 4 minutes for pmwiki to redirect??