loops (v5)

Revision 5 of this benchmark created on


Preparation HTML

		

Test runner

Ready to run.

Testing in
TestOps/sec
a


let total = new Array(100_000, 0).reduce((acc) => acc+1)
console.log("A", total)
ready
b
let total = 0;

for (let i =0; i <= 100_000; i++){
	total+= 1;
}
console.log("b", total)
ready

Revisions

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