v1
- by cdiesh2 11/17/202200
Setup HTML - click to add setup HTML
disable setup JavaScript
Setup JavaScript

const len = 2_000_000

const arrs=[]
for(let i = 0; i < len;i++) {
	arrs.push([Math.random(),Math.random()])
}

const objs=[]

for(let i = 0; i < len;i++) {
	objs.push({a:Math.random(),b:Math.random()})
}
	
delete caserun single casemove downdrag and drop case


ready




const res = []
for(let i = 0; i < arrs.length;i++) {
	const [a,b] = arrs[i]
	res.push(a+b)
}
delete caserun single casemove upmove downdrag and drop case


ready



const res = []

for(let i = 0; i < objs.length;i++) {
	const {a,b} = objs[i]
	res.push(a+b)
}
delete caserun single casemove upmove downdrag and drop case


ready



const res = []

for(let i = 0; i < objs.length;i++) {
	res.push(objs[i].a+objs[i].b)
}
delete caserun single casemove updrag and drop case


ready




const res = []
for(let i = 0; i < arrs.length;i++) {
	res.push(arrs[i][0]+arrs[i][1])

}
Test Case - click to add another test case
Teardown JS - click to add teardown JavaScript
Output (DOM) - click to monitor output (DOM) while test is running
RUN