Test Field Usage

# of Iterations:  

This benchmarking application is actually just a little byproduct of my development. It is meant to provide means of testing function performances against each other to streamline Javascript performance.

Simply enter a function body without the opening "function()" and the curly brackets into the textfield similar to the default value. Define how many iterations of the function you want to run. To compare, simply type in another function and run again.

To give you an idea for what I was using it, here are two functions that provide the same return value but have vastly different performance ratios:

  • var testVal = typeof parseInt('5') == 'number';
  • var testVal = !isNaN(parseInt('5'));