Latest Benchmarks

Browse the latest JavaScript performance benchmarks created by the community.

slice vs substr vs substring new

..

Populate array: array literal vs array constructor

No description provided

String() vs .toString() vs `${num}`

No description provided

Push & Shift vs Spread & Pop (2)

Compare usage of a sorted todo list whether its better to have the next element at the end (pop) or at the beginning (shift) of the array

Push & Shift vs Spread & Pop

Compare usage of a sorted todo list whether its better to have the next element at the end (pop) or at the beginning (shift) of the array

Array concat vs spread operator vs push vs double spread

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

[js] localeCompare sort vs normal sort vs lodash orderBy vs sort comparator

test performance of array sorting using default sort() and localeCompare() of javascript

Lodash Ben

No description provided

Benchmark: flatMap vs reduce vs while 2

No description provided

math pow vs **2

No description provided

Intl.Collator.compare() vs localeCompare() vs toLowercase()

No description provided

array.join vs string literal vs string concatenation

No description provided

Comparing of native .length and Lodash _.isEmpty nad forin

No description provided

Comparing of native .length and Lodash _.isEmpty

No description provided

regex split

regex

lodash orderBy vs Array.sort on single key

Sort and array of objects by 2 properties : - text: descending - id: ascending

structured clone vs JSON

No description provided

Lodash cloneDeep vs native cloneDeep - deepclone only

compare array copy/clone methods

Regex vs startsWith

No description provided

find in array of objects by field 1002

No description provided

math.pow vs ** using floats

test math.pow vs ** while numbers are floats

Comparing array.concat.apply short form with empty array vs array.flat vs array.reduce

No description provided

jQuery css styles set

No description provided

list push vs splice 222

No description provided

Array concat vs spread operator vs push 303

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