Latest Benchmarks

Browse the latest JavaScript performance benchmarks created by the community.

indexOf > -1 x indexOf != -1

No description provided

Lodash uniqBy vs Native

No description provided

JavaScript spread operator vs Object.assign performance 3000

No description provided

slice VS splice VS shift: who is the fastest to remove multiple items

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

New Array - Array.prototype.slice vs spread operator

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

Closures vs Calls (with setup incl)

No description provided

spread vs concat vs unshift vs flat v2

No description provided

spread vs concat vs unshift vs flat

No description provided

Closures vs Calls

No description provided

Lodash.js vs Native test23

asd

Lodash.js vs Native test2

asd

JS Regex vs .startsWith

fork of https://www.measurethat.net/Benchmarks/Show/975/11/regex-vs-indexof-vs-startswith-vs-substr

Map vs JSON

Map vs JSON

Alphanumeric String test 2

Check if a string only contains alpha-numeric characters.

Alphanumeric String test 1

Check if a string only contains alpha-numeric characters.

count the number of occurrences in array

Count the number of times each item appears in the array

object.keys + lookup + for loop vs. object.entries.forEach

Compares the speed of getting an array of keys and looking up the object values with those keys (in a loop) with simply calling `.forEach` on `object.entries()`

set.has vs. Object key

No description provided

buffer operations

No description provided

Push vs spread LA2

No description provided

Lodash uniq vs Object unique keys vs Set

No description provided

new TypedArray() vs TypedArray.of()

No description provided

merging an array. reduce VS join

Tests the speed of merging an array

for-in Object.hasOwn vs for-of Object.keys

No description provided

array.includes vs array.indexOf

No description provided