Latest Benchmarks

Browse the latest JavaScript performance benchmarks created by the community.

concat vs spread1

Compare the new ES6 spread operator with the traditional concat() method

Sorting array into 2 arrays with reduce vs forEach

When sorting an array, you can use reduce or forEach

Lodash cloneDeep vs Lodash clone vs Array.slice() vs. Object.assign()

For times when a shallow copy is needed, what is the performance difference between these 3 methods.

Unique vs set

No description provided

Lodash cloneDeep

No description provided

Find: Native vs Underscore vs Lodash

No description provided

RxJS filter vs if

No description provided

or vs array vs set

No description provided

loop through an array

No description provided

querySelectorAll data attribute vs class name 4

No description provided

querySelectorAll data attribute vs class name 3

No description provided

querySelectorAll data attribute vs class name 2

No description provided

Classnames vs CLSX vs Alternatives vs Template Literals

Compare CLSX vs Classnames vs an own implementation of creating a template string

find vs includs

Measuring which is faster

Copying Set vs Object vs Map

No description provided

teatastaasag

No description provided

Direct call vs bind vs call vs apply vs self but makes sense

No description provided

Array.some vs. for..of + Break

No description provided

document.contains() vs document.getElementById() for checking node presence

on anonymous youtube homepage for a moderately complex document

document.getElementById vs. document.contains()

on anonymous youtube homepage for document complexity

lodashddddd

No description provided

reduce as filter vs filter

No description provided

Округление

No description provided

test12234 pivot

Compare native

Lodash sortBy vs orderBy - fixed

Lodash sortBy vs orderBy