whilevsfor

Benchmark created on


Test runner

Ready to run.

Testing in
TestOps/sec
For Loop
for(var i = 10; i ; i--)
{
console.log('test');
}
ready
While Loop
var i = 10;
while(i--)
{
console.log('test');
}
ready

Revisions

You can edit these tests or add more tests to this page by appending /edit to the URL.