I wrote a quick little program to solve a problem for me. If you have two algorithms in webpages and want to benchmark them to see the difference, the program will work for you. You add the the below code to a PHP page, or do he same thing in other languages, then the app will run as many times as you tell it to and find the result in time. To lower the time it takes to get a result, you can up the thread count. Averages are not returned till all threads return information.
Start of PHP Page: $time = microtime(TRUE); End of page: echo "seconds " . (microtime(TRUE) - $time); Download: https://github.com/daberkow/QuickCompare/blob/master/WebTest/bin/Release/WebTest.exe Git: https://github.com/daberkow/QuickCompare/