Latest Benchmarks

Browse the latest JavaScript performance benchmarks created by the community.

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

JavaScript spread operator vs Object.assign performance with 3 objects to merge fork

No description provided

lodash with flatmap and groupby vs native

No description provided

Get values from object

No description provided

Trie vs native map

I know this is really useless comparison

DOM Retrieval vs DOM element assignment

Test to see whether it is more performant to assign a DOM element to a variable or fetch it from the DOM each time.

flatMap() vs filter().map() vs reduce vs for

flatMap vs filter map vs reduce vs for looop

Math.pow() vs ** operator

No description provided

Circular Queue vs Linked List Queue v2

No description provided

flatMap vs reduce using push spread vs map flat

No description provided