teste

Benchmark created on


Setup

const data = [{id:1, name: 'name1'}, {id:2, name:'name2'}]

Test runner

Ready to run.

Testing in
TestOps/sec
normal
data.map((item) => {
	item.searchOnly = false
	return item
})
ready
spread
data.map((item) => {
	return {...item, searchOnly: false}
})
ready

Revisions

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