Latest Benchmarks

Browse the latest JavaScript performance benchmarks created by the community.

flatMap() vs filter().map() vs reduce() v2

flatMap vs filter map vs reduce()

jQuery AJAX vs Fetch API

Benchmark jQuery AJAX wrapper vs Fetch API that shows the power of Vanilla JS Checked test: jQuery x 20,305 ops/sec ±5.52% (61 runs sampled) => 50ms execution time Checked test: Vanilla JS x 26,853 ops/sec ±6.86% (56 runs sampled) => 38ms execution time

Ramda vs. Lodash equality 2

Compares performance on the same task using Lodash vs Ramda vs Fastest Clone.

Array.prototype.concat vs push apply vs spread operator

Compare the new ES6 spread operator with the concat and apply method

JavaScript spread operator vs Object.assign performance vs a custom merge object method

No description provided

Modern dataset vs old .getAttribute() vs jQuery .data() vs jQuery .attr() rfgonzalezweb

No description provided

Lodash cloneDeep VS spread operator with edit

No description provided

cloneDeep vs spread object vs json

No description provided

reduce vs map+reduce

No description provided

sync vs promise

No description provided

slice v splice chunking

100k list splice and shift win, they mutate list slice loose, it creates a copy of list 7.5x slower

Filter vs InLoop

No description provided

Spread vs pusha

testaa

Array.sort vs Math.min+Math.max1233

No description provided

Array.sort vs Math.min+Math.max123

No description provided

arity 3 string join vs concat vs plus with separator

No description provided

arity 3 string join vs concat

No description provided

Normalize path: JS Regex vs .endsWith vs .indexOf vs .slice

No description provided

filter with Boolean

filter with Boolean

Switch Case vs Object vs Array vs Map

No description provided

ID vs NAME

No description provided

native reduce vs uniqBy

No description provided

Lodash sortBy vs orderBy corrected vs sort

Lodash sortBy vs orderBy

Underscore each vs forEach

No description provided

Array.from vs for...of vs [...]

No description provided