Latest Benchmarks

Browse the latest JavaScript performance benchmarks created by the community.

str.match vs str.Split (regex)

Test String.match with regex against String.split with string. We are splitting a string at the spaces.

object-hash vs lodash.isEqual with large dataset

No description provided

sort vs reduce for a few elements

No description provided

RegEx.test vs. String.includes vs. String.match (multiple words in regex)

No description provided

React

No description provided

React useCallback

No description provided

Object Deep Copy with structuredclone

Produce a deep copy of a Javascript object where nested objects are not simply references to the originals.

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