test

Benchmark created on


Setup

const data = [1,2,3,4,5,6,7,8,9,0,1,2,3,4,5,6,7,8]

Test runner

Ready to run.

Testing in
TestOps/sec
while
let i = 0;
while(i < data.length) {
	data[i]*data[i];
	i++
}
ready
for
for (let i = 0; i<data.length; i++) {
	data[i]*data[i];
}
ready

Revisions

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