v1
6/4/2023 by seasle -00
Setup HTML - click to add setup HTML
disable setup JavaScript
Setup JavaScript
const count = 10_000;
const variaty = 100;
const array = new Array(count)
	.fill(null)
	.map((_, index) => ({
		id: index + 1,
		name: `Test_${Math.ceil(Math.random() * variaty)}`
	}));
delete caserun single casemove downdrag and drop case


ready



array.reduce((result, obj) => {
  const existingArray = result.find(arr => arr[0].name === obj.name);
  
  if (existingArray) {
    existingArray.push(obj);
  } else {
    result.push([obj]);
  }
  
  return result;
}, []);
delete caserun single casemove updrag and drop case


ready



Object.values(array.reduce((acc, entry) => {
	acc[entry.name] ??= [];
	acc[entry.name].push(entry);
	return acc;
}, {}));
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