Latest Benchmarks

Browse the latest JavaScript performance benchmarks created by the community.

Lodash isEqual compare with custom deepEqual in compare objects

Test on isEqual performance

JavaScript spread operator vs Object.assign performance 22476

No description provided

createElement vs insertAdjacentHTML but actually works

No description provided

uuid generation crypto.getRandomValues

No description provided

Math.max() vs Array.reduce()

Compare speed of Math.max() vs Array.reduce().

Lodash deep clone (v4.17.20) vs JSON.stringfy

No description provided

Lodash deep clone vs Spread Clone

No description provided

For Loop vs While Loop vs indexOf

No description provided

Lodash omit vs es6 rest spread vs for-in-loop

No description provided

Uint8Array to String

Benchmark of various methods used to convert a Uint8Array to a string value

Array loop vs foreach vs map vs while

No description provided

Regexp vs. Includes vs. IndexOf

No description provided

Object.hasOwnProperty vs Object in vs Object[] vs Array.indexOf vs Array.includes vs Set.has

No description provided

Array slice.forEach vs for loop

No description provided

reduce vs for loop vs forEach 100 count

A test summing 100 random numbers, 1 - 10000

parseInt vs toFixed vs tilde vs bitwise

No description provided

parseInt vs toFixed vs ~~

No description provided

Initializing array with n undefined items

worth to note that the maximum callstack size is exceeded for the first test case (spread operator) with n = 1 million

Math pow and double asterisk with floats

No description provided

Array concat vs spread operator vs push vs Array.prototype.push.apply

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

uniqBy vs stringify performance

lodash vs javascript

Array concat vs spread operator vs push vs Splice

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

String.prototype.concat vs Array.prototype.join

No description provided

javascript var vs let vs const

No description provided

Array.prototype.slice vs spread operator 2 2

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

NEW BENCHMARK Your Benchmarks