Latest Benchmarks

Browse the latest JavaScript performance benchmarks created by the community.

concat vs spread vs push three arrays to new one

Compare the spread, concat, push three arrays to new one

concat vs spread three arrays

Compare the spread operator with the concat() method

RegEx.test vs. String.includes x 2

No description provided

merge vs mergeWith params

No description provided

Intl.Collator.compare vs localeCompare with numbers

No description provided

Hex convertion : Mapping vs Range

Which one is the faster for hex conversion : testing a range of retrieving a value ? See https://url.spec.whatwg.org/#percent-encoded-bytes

Intl.NumberFormat

No description provided

Object key access vs array index access 1000000

Tests the speed of accessing an item by object key vs array index.

Object key access vs array index access 100000

Tests the speed of accessing an item by object key vs array index.

Object key access vs array index access 10000

Tests the speed of accessing an item by object key vs array index.

Test Dipyaman

No description provided

chain of or equals vs Set.has

how much of a performance deficit you can expect from using Array.includes instead of manually writing a chain of logical ORs

JSON Clone vs Clone

No description provided

RFDC clone vs Clone

No description provided

RFDC clone vs Lodash cloneDeep vs JSON Clone vs Clone

No description provided

.includes() vs indexOf() for single-character search in string

No description provided

Lodash cloneDeep vs structuredClone w/ larger payload

https://developer.mozilla.org/en-US/docs/Web/API/structuredClone

Array.prototype.concat vs spread operator (2 separate arrays of same type)

Compare the ES6 spread operator with the traditional concat() method

Array.prototype.concat vs spread operator (2 separate arrays)

Compare the ES6 spread operator with the traditional concat() method

Javascript: Case insensitive string comparison performance inc. regex

No description provided

textContent vs nodeValue vs data vs innerHTML vs append vs dataWithCheck

No description provided

textContent vs nodeValue vs data vs innerHTML vs append

No description provided

textContent vs nodeValue vs data vs innerHTML

No description provided

textContent vs nodeValue vs data vs inner html

No description provided

z-indexes collection and coercion

No description provided