Latest Benchmarks

Browse the latest JavaScript performance benchmarks created by the community.

getElementById vs querySelector vs map.get

No description provided

let vs const in a fix for-loop length

No description provided

Attribute Parser 2

1 large object-attribute v. smaller attributes

Attribute Parser l

1 large object-attribute v. smaller attributes

array.indexOf vs array.includes vs array.some vs equality

performance comparison of ways to find if an array contains a value

lodash uniq vs Array.from(new Set()) vs spread new Set() [big arrays 2]

No description provided

lodash uniq vs Array.from(new Set()) vs spread new Set() [big arrays]

No description provided

lodash flatMapDeep vs reduce

No description provided

search tests

No description provided

string[0] vs slice(0,1)

Compares direct index with index.length -1 vs slice

regex-split-wc

No description provided

Checkf

No description provided

Some vs Find test2

No description provided

_.filter.length vs filter.length vs reduce.length

No description provided

[prefix] string.replace vs regex replace

No description provided

Spread operator vs Array.prototype.apply vs Array.prototype.concat

No description provided

forEach vs const size forLoop

No description provided

Math.min.apply vs Spread

No description provided

forEach vs for..loop dynamic length2

No description provided

Function or if function

No description provided

forEach vs for..loop dynamic length

No description provided

forEach vs for..loop fixed length

No description provided

Things

No description provided

for vs reduce for object

No description provided

slice vs substr vs substring (with start and end index, and with emoji)

Compares slice, substr and substring to each other when there is only a start index