Latest Benchmarks

Browse the latest JavaScript performance benchmarks created by the community.

Array concat vs spread operator vs push to combine arrays

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

append vs appendChild vs insertAdjacentHTML vs DOMParser vs createContextualFragment vs append documentFragment

No description provided

append vs appendChild vs insertAdjacentHTML vs DOMParser vs createContextualFragment

No description provided

Random vs Date.now

No description provided

test lodash uniqWith

No description provided

compare vs match

No description provided

IndexOf > -1 vs Includes in string

Banana

Multiple OR statements vs. Array Index Of.

Let's see if multiple OR statements or index Of array is faster.

Array.from vs Array.fill

No description provided

subarray vs. constructor perf

No description provided

Lodash vs spread operator semi-deep clone

Cloning large, deep object using cloneDeep and spread operator (first and one of second level nodes)

querySelectorAll head vs unrestricted

No description provided

test1asdsadsada

No description provided

ToLower vs ToUpper w/ Find vs Some

No description provided

ToLower vs ToUpper

No description provided

legacy RW calc tests

Task 1: Find a random element's position in an array. Task 2: Find a shared single random element's position in two arrays.

Array reassign vs pop & push

Compare reassignment to the last element vs pop and push

Date.now()

No description provided

Stor info in Array vs Object

No description provided

JSON.stringify, string concat, template string, join, plus

No description provided

if and direct call

No description provided

Ladash map versus ECMA6 map

Test if using ECMA6 map is better than using lodash map

Concat vs spread

No description provided

async for vs promise all (setTimeout version)

Inspired by: https://www.measurethat.net/Benchmarks/Show/13019/0/async-for-vs-promiseall

Passing existing array vs spreading twice

No description provided