Latest Benchmarks

Browse the latest JavaScript performance benchmarks created by the community.

filter vs compact vs native

No description provided

jquery compare

No description provided

Lodash get() comparison

Compares get(data, "prop.names.here") vs get(data, ["prop", "names", "here"]

qwewtrqw1231

1qerqwe123

_.some vs _.find

Compare _.some vs _.find

Lodash cloneDeep vs spread

No description provided

for vs forEach vs for-of

for vs forEach vs for-of

lodash.each vs Object.forEach vs Native for

No description provided

set add vs map 2

No description provided

set add vs map

No description provided

Testing 4567_2

save length of the array in the variable vs get it the loop

Testing 4567

save length of the array in the variable vs get it the loop

Boolean constructor vs double negotiation trick in javascript

No description provided

_.isEmpty vs You-Dont-Need-Lodash-Underscore#_isempty

No description provided

PH - Object Creation

No description provided

slice vs substr vs substring (with end index) -x

Compares slice, substr and substring to each other when there is only a start index

getElementById vs id function

document.getElementById() versus id wrapper function Performance comparison of inline use of the browser native DOM method document.getElementById() vs javascript wrapper functions in various forms (declaration, expression, arrow). As expected there are not big differences, but it is interesting that calling the JS wrapper function can be faster in some cases.

createElement vs cloneNode vs cloneNode(false)

Faster way to create new dom elements before insertion

Lodash get vs isNil

No description provided

key vs key

No description provided

Compare spread operator in objects vs set the properties in the object directly

This benchmark is to compare the cost of using the spread operator in objects

Lodash Difference vs Set.delete 2

No description provided

Lodash Difference vs Set.delete

No description provided

spread vs for

No description provided

spread vs while

No description provided