Latest Benchmarks

Browse the latest JavaScript performance benchmarks created by the community.

single append vs multiple appendChild

No description provided

addEventListener('resize') + innerWidth VS matchMedia() + matchMedia.addEventListener('change')

This benchmark compares using `addEventListener('resize')` with window.innerWidth versus window.matchMedia with it's`addEventListener()` function to see which is faster.

apply VS call 2

No description provided

apply VS call

apply VS call

.length vs cached length for loop

No description provided

Spread vs Push -

No description provided

Lodash.isEqual vs JSON.stringify Equality Comparison for Shallow Array of Strings. with some other test

Test on isEqual performance

Object cloning with Lodash clone vs cloneDeep vs merge vs ES6 object spread vs ES6 Object.assign vs Clones vs clone true

No description provided

Ramda vs. Lodash v2

Compares performance on the same task using Lodash vs two styles of Ramda vs two styles of "native" Javascript. In all cases the task is pulling "counter" property from each item in an array, filtering out odd items, squaring them, then returning those squared values that have less than two digits.

noop vs conditional execution (fixed)

Is it faster to run a noop (no-op, no op) function in javascript or is it faster to check if a function exist before calling it? let's find out!

noop vs conditional execution

Is it faster to run a noop (no-op, no op) function in javascript or is it faster to check if a function exist before calling it? let's find out!

Selectors Js

No description provided

Ramda.prop() vs native js

No description provided

TEST FLDNJFLNDLFNDLNFDNFLDS

TEST FLDNJFLNDLFNDLNFDNFLDS

New Array Object vs New Array Literal

No description provided

Lodash "uniqWith" "unionBy" "uniqBy" 6 Custom

No description provided

Switch vs Object Literal vs If Else vs Map - testing with simpler data again

No description provided

Slice vs Filter (sp)

No description provided

MomentVSVanilla

No description provided

loop over Set conditionally vs non-conditionally

when a Set() may or may not contain entries, is it more efficient to check Set.size before starting a for...of loop or does it not matter?

Map() delete while iterating vs clear

When iterating over a Map and clearing after iteration is required, is it faster to remove items at each iteration step or is it faster to iterate and then clear() the entire Map afterwards?

join vs trim vs filter

No description provided

join vs string + trim

No description provided

padStart vs splice vs conditional

Measures speed between using padStart and splice and conditional

Concat vs Spread for Large Arrayss

No description provided