Latest Benchmarks

Browse the latest JavaScript performance benchmarks created by the community.

Clone and append to beginning of array

Compare the new toSpliced() method, the slice() + unshift() method and the spread operator in cloning and appending an element to the beginning of an array.

Clone and append to array

Compare the new toSpliced() method, the slice() method and the spread operator in cloning and appending an element to array.

for in or reduce

No description provided

Cost of adding and removing events

No description provided

pointDistance vs rectDistance

he

Iterators or loop

No description provided

for vs foreach vs for..in vs for..of 2

Compare loop performance

if-else vs switch helper 4

No description provided

findMatchGroups old vs new

No description provided

structuredClone vs _.cloneDeep vs JSON - 2

compare array copy/clone methods sdfewfe

Map vs Object - More items6

Lookup of map vs object

const vs let vs var (fixed) 234

No description provided

structuredClone vs _.cloneDeep vs JSON - 1

compare array copy/clone methods sdfewfe

string.replace vs regexp.matchAll vs regexp.exec for parsing

No description provided

Proxy JS Get Benchmark Multiple InheritanceFix4

No description provided

className vs. setAttribute vs. classList - exclusive

1000 exclusive class name

structuredClone vs _.cloneDeep vs JSON

compare array copy/clone methods sdfewfe

regex vs includes - case insensitive

No description provided

const vs let vs var (fixed) 2

No description provided

intersect v3c

No description provided

Math.max with apply vs spread vs reduce on object array

Compare the new ES6 spread operator with the Math.max.apply method

intersect v3b

No description provided

Performance of JS .foreach, for, for...of

Comparing performance between different loops in javascript

intersect v3

No description provided

Searching in an array of objects

No description provided

NEW BENCHMARK Your Benchmarks