it cleans out all the cookies and temporary files. but some of these files are used to make browing more convinent. for exmple, cookies help you to log in your accounts online so you do not have to type or memorize the password all the time.
your little program seems working, but could you explain the above for me? i have not tried yet.
my opinion is unless you have a real shortage of storage space, it would not make browsing faster, but slows down a little because of the absense of the cookies and some temporary files (I think these make browing pages with a lot of pictures that you browsed before faster).
A more selective porgram that say saves the cookies would be useful for people who want to use the cookies.