Latest Benchmarks

Browse the latest JavaScript performance benchmarks created by the community.

Native JS: concatenate string with + vs template literals vs String.concat - My test

find best solution for concatenate 4 strings

array vs float32array without conversion 3

No description provided

array vs float32array without conversion 2

No description provided

div vs svg

No description provided

Javascript: Case insensitive string comparison performance

No description provided

Javascript: Case insensitive string comparison

No description provided

loop-vs-if

No description provided

DocumentFragment append VS Normal append

Code from https://johnresig.com/blog/dom-documentfragments/

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

Compares slice, substr and substring to each other when there is only a start=1 index. Strip first character from the string.

fdMap vs Objectasdfasdfasdfasdfdsfad

Lookup of map vs object

Map vs Objectasdfasdfasdfasdfdsfad

Lookup of map vs object

Map vs Objectasdfasdfasdfasdf

Lookup of map vs object

querySelectorAll vs getElementsByTagName with two different tag names

No description provided

indexOf vs findIndex simple X

No description provided

rrweb-snapshot addHoverClass

No description provided

unique elements in array using filter - lodash 4.17.21

No description provided

Array loop vs foreach vs map 3

No description provided

slice vs spread, blahhh

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

Object assign vs empty obj

No description provided

For in vs Object.*.forEach vs Object.values :D

seeing if for in is faster than all of the object.values methods

For in vs Object.*.forEach vs Object.values

No description provided

Array.find() vs Array.some()

Compare performance of find() vs some()

Concatenation vs Find and Substring

No description provided

Concatenation vs substring

No description provided

PutImageData vs DrawImage without GetImageData

PutImageData vs just DrawImage