Benchmark name When Created
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.

2 years ago
apply VS call 2 2 years ago
apply VS call

apply VS call

2 years ago
.length vs cached length for loop 2 years ago
Spread vs Push - 2 years ago
Lodash.isEqual vs JSON.stringify Equality Comparison for Shallow Array of Strings. with some other test

Test on isEqual performance

2 years ago
Object cloning with Lodash clone vs cloneDeep vs merge vs ES6 object spread vs ES6 Object.assign vs Clones vs clone true 2 years ago
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.

2 years ago
Babel Optional Chaining versus Lodash Get (via array) 2 years ago
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!

2 years ago
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!

2 years ago
Selectors Js 2 years ago
Ramda.prop() vs native js 2 years ago
TEST FLDNJFLNDLFNDLNFDNFLDS

TEST FLDNJFLNDLFNDLNFDNFLDS

2 years ago
New Array Object vs New Array Literal 2 years ago
Lodash "uniqWith" "unionBy" "uniqBy" 6 Custom 2 years ago
Switch vs Object Literal vs If Else vs Map - testing with simpler data again 2 years ago
Slice vs Filter (sp) 2 years ago
MomentVSVanilla 2 years ago
Moment VS Vanilla 2 years ago
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?

2 years ago
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?

2 years ago
join vs trim vs filter 2 years ago
join vs string + trim 2 years ago
padStart vs splice vs conditional

Measures speed between using padStart and splice and conditional

2 years ago

 New benchmark Your benchmarks