A Simple Javascript performance tester.
Add any function named testNN() where NN is a number to the input above.
Optionally add a setupNN() if you need to do a pre test setup.
You may also add a infoNN variable to give a friendly name to the test.
Add a var worker = false; to make the tests not run in a WebWorker if you need access to the DOM tree,
or anything not in this list.
Tests are ran until they have been running for more than 1 second. There is some overhead with this, but ordering should still be correct, and that is what really matters.