Latest Benchmarks

Browse the latest JavaScript performance benchmarks created by the community.

JS string param vs object property as param

No description provided

canvas style.left vs translate

No description provided

singular clone vs batch clone

No description provided

Custom pluck test vs JS map vs lodash map

Testing a functional programming method 'pluck'. This is an in-progress test. Taken from lodash source code, using the Array constructor to make an Array of a specified length, seems to have a considerable impact on performance. In my simple pluck implementation, not using the constructor e.g. const plucked = [], was considerably slower.

JSON.parse vs string.split (big size)

No description provided

JavaScript spread operator vs Object.assign vs assign to empty - performance

No description provided

JS Map get VS JS Map has

Map get VS Map has

Find substring in a long string

Benchmark finding a string in a substring via several methods.

deburr manually vs deburr from lodash

No description provided

cloneNode vs clone function

No description provided

Add elements to array: foreach push vs destructuring

No description provided

JS - Object Spread VS Object Assign v2

No description provided

JS - Object Spread VS Object Assign

No description provided

Trunc vs Floor vs Number vs ParseInt vs ~~ using time

Trunc vs Floor vs Number vs ParseInt vs ~~

Trunc vs Floor vs Number vs ParseInt vs ~~

Trunc vs Floor vs Number vs ParseInt vs ~~

Lodash.isEqual vs JSON.stringify Equality Comparison for deep object

Test on isEqual performance

array.push() VS Set.add()

No description provided

URL vs String

No description provided

for-in vs object.keys (no hof in Object.keys, hasOwn check)

No description provided

for-in vs object.keys (no hof in Object.keys)

No description provided

array[array.length] vs array.at(array.length)

No description provided

Const with props vs Function

No description provided

for vs foreach vs for..of vs for..of over entries with big number of elements

Compare loop performance

Custom Build Query 3

No description provided

Custom Build Query 2

No description provided