Latest Benchmarks

Browse the latest JavaScript performance benchmarks created by the community.

Object Assign vs Spread test

No description provided

test fill loop of size 2 versus for loop of size 2

No description provided

undefined vs. typeof vs. in vs. hasOwnProperty vs optional chaining

Object lookup performance

sort vs min/max multi

No description provided

Comparison different type of checking string values

No description provided

Comparing various way to check if a string is within the values of a typescript enum

Given this typescript code // typescript like enum Status { A = 'a', B = 'b', C = 'c', D = 'd' } what is the faster simpler way to know if a string st is within the enum values.

Comparing various way to check if a string is within the values of a typescript enum .

Given this typescript code // typescript like enum Status { A = 'a', B = 'b', C = 'c', D = 'd' } what is the faster simpler way to know if a string st is within the enum values.

lodash merge vs deepmerge vs Object.assign

No description provided

wellwell

d

Map vs Object - in loop + data retrieval

No description provided

Add new element to array: push vs destructuring - long and short

No description provided

Map.set() vs Object assignment in loops

No description provided

lodash xor alternatives Copy 3

.

lodash xor alternatives Copy 2

.

lodash xor alternatives (copy)

.

RegEx.exec vs String.match (inline)

No description provided

Type discriminators

Measure the performance of instanceOf operator vs comparing other types.

JS if/ vs if/else

Benchmark of the speed difference between using multiple IF statements and an open-ended IF/ELSE IF.

Combine multiple Arrays of Objects with Array.prototype.concat vs spread operator vs flat

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

classcat, clsx, obj-str, vanilla, merge-class-names

No description provided

benchmark-x

No description provided

benchmark-16666

No description provided

luxon vs datefns vs moment vs dayjs (calculations)

No description provided

luxon vs datefns vs moment vs dayjs (formatting)

No description provided

luxon vs datefns vs moment vs dayjs (parsing)

No description provided