Latest Benchmarks

Browse the latest JavaScript performance benchmarks created by the community.

matches vs. closest vs. classList (with element tag check) 2

No description provided

matches vs. closest vs. classList (with element tag check)

No description provided

Lodash cloneDeep vs structuredClone vs JSON.stringify with array values

https://developer.mozilla.org/en-US/docs/Web/API/structuredClone

Lodash cloneDeep vs structuredClone with array values

https://developer.mozilla.org/en-US/docs/Web/API/structuredClone

ID vs Data vs Class

No description provided

JS Map foreach vs for of

No description provided

For loop vs For of vs Map()

No description provided

For of vs for each

No description provided

JS Array Slice vs Array Spread

No description provided

Array.push() vs map() for converting a string into a char array

No description provided

flat map vs reduce concat for real

No description provided

Array.prototype.concat vs spread on two arrays

Join arrays by concat or spread

Reduce with spread VS for...of with push

No description provided

for vs foreach vs some vs for..of test2

Compare loop performance

for vs foreach vs some vs for..of test

Compare loop performance

parent vs closest 555

No description provided

Pagination Vs Pagination V2

No description provided

For vs for of vs forEach

No description provided

JavaScript spread operator vs Object.assign performance 2002

No description provided

JavaScript spread operator vs Object.assign performance 2001

No description provided

JavaScript spread operator vs Object.assign performance 2000

No description provided

Passing data to function as parameter list vs other methods (static, new, re-used & global - vars, objects & arrays)

Compares performance of a function call with parameter list, against other methods of getting the data into the function

Passing objects with raw values vs passing new objects with raw values vs passing just raw values vs array of values 2

Updated to add 'Pass new object' & 'Pass re-created object', these reflect common real-world usage where the object contents are changing

undefined vs. typeof vs. in vs. hasOwnProperty vs hasOwn

Object lookup performance

computed property names vs create, assign

No description provided