Sitemaps and Siege
December 17th, 2009
If you are like me and always want to test the performance of your sites before releasing them to the public eye and you have an interest in publishing sitemaps to google and friends. This handy ruby script might be just the thing for you.
Assuming you already have your sitemap.xml file, if not try googling…
Next run the ruby script, given the sitemap.xml file as the first argument:
ruby sitemap-to-siege.rb sitemap.xml
That will create the urls.txt file.
Now run siege:
siege -c50 -t1M -f urls.txt
Note on mac you can install siege with
sudo port install siege
On redhat:
yum install siege
Or grab the source.

Recent Comments