Latest Benchmarks

Browse the latest JavaScript performance benchmarks created by the community.

Pushing items via Array.push vs. Spread Operator

No description provided

Ramda vs. Lodash vs vanilla js

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.

isEmpty (forIn vs Object.keys vs Object.values vs lodash.isEmpty)

No description provided

lodash flatten vs array.flat

lodash flatten vs spread

unshift vs push array

No description provided

native kebap vs lodash _.kebap

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

slice vs substr vs substring (with end index) @fran

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

eval vs json parse 2

eval vs json parse 2

Arrow function vs bind function dont bind

No description provided

lodash/keyBy vs native reduce

No description provided

uniqBy vs filter+set

No description provided

Lodash CloneDeep vs Immer Produce on larger array

No description provided

lodash compact vs es6 compact/filter

No description provided

convert to set + set.has vs. array.includes

Check if it is faster to convert an array to a set and perform set.has(), compared to performing array.includes() on the base array.

Array push vs concat vs push + flat

No description provided

mustache rendering performance 4

nya nya nya

async vs sync

No description provided

array includes vs object key lookup

No description provided

querySelectorAll vs getElementsByTagName specific use case 2

No description provided

Map: Lodash vs Array.prototype

No description provided

Date.now() vs new Date().getTime() vs +new Date()

No description provided

Optional chaining vs manual chaining vs loop chaining vs Try/Catch

No description provided

JS insert at index spread vs Splice

No description provided

toFixed vs Math.round

No description provided

Url parameters to object

No description provided

NEW BENCHMARK Your Benchmarks