Latest Benchmarks

Browse the latest JavaScript performance benchmarks created by the community.

reduce() vs filter().map() V2

reduce vs filter map

findIndex vs _sortedIndexBy vs custom sortedIndexBy

No description provided

Object.fromEntries vs reduce without toString2

No description provided

replace vs split and join

Test the performance of replace() vs substring() vs slice() when replacing a char at the beginning of a (in this case uri query-)string that may or may not be there. Added the combined brackets[ ] + substr() method, since it's always the first char we wan't to pop off. Inspired by https://jsperf.com/replace-or-substr. Note: could not get 'let' and 'const' to work. Well, too bad...

Javascript slice vs substring

No description provided

Array concat vs push spread vs push apply

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

querySelector vs getElementsByTagName

No description provided

native find() vs lodash _.find() vs native some()

No description provided

array find vs array some

No description provided

Json parse vs string split

Test best way to transfer simple arrays

char index vs charAt() vs slice() vs startsWith() vs RegExp bmk2

Compare methods for testing string's beggining character.

replaceAll vs replace

No description provided

Some vs. Filter vs. indexOf (somefixes)

No description provided

lodash uniq vs [...new Set]

No description provided

Lodash toString vs native toString

No description provided

regex speed test-2

regex speed test

regex speed test

regex speed test

OR JS Regex vs 2 .startsWith

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

2x JS Regex vs .startsWith

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

Array concat vs spread operator vs push (work)

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

Set vs Object vs Map has value

No description provided

Int conversion

No description provided

_.isEqual() vs _.xor()

No description provided

memoize test

No description provided

Array.prototype.slice vs spread operator v2

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