Re: BBC Parsing Reply #15 – August 18, 2015, 12:40:24 am @Spuds I updated it.If anyone is looking at it, index.php is the entrance for testing. The controls window is screwed up but it isn't a concern for me because I know what the inputs are. There are currently two types of tests: bench and test (index.php?type=bench or index.php?type=test). You can select individual messages to test by clicking the checkbox next to the message and clicking the submit button at the bottom of the page. If you don't select any messages and hit submit, it will do all of the messages. There are no checkboxes for the benchmark test but you can put the message(s) you want in the address bar and it will do only those messages (for instance ?type=bench&iterations=1000&msg=20). It will always run "code" and "all" tests because selecting messages was an after-thought. As you can see from the example, iterations=# is the way to input the number of iterations it will run.In index.php there is a constant called SAVE_TOP_RESULTS. Right now this is setup to save the top 5 percentage of difference between the A and B test to a CSV file. You can view the results of that from TopResults.php. This helps me determine what is the biggest slow ups. I could change this to the top 5 in time but if message 20 takes 5 seconds on A and 10 seconds on B that's a difference of 5 seconds which is a 100% increase in time but if message 10 takes 2.5 seconds on A and 7.5 seconds on B that's a difference of 5 seconds which is a 200% increase and tells me there's a bigger difference in the code. At least, that's my logic. Going to also try to look at times as a difference to try to pick any low hanging fruit.