Latest Benchmarks

Browse the latest JavaScript performance benchmarks created by the community.

create object vs Error

No description provided

Spread vs unshift sam

No description provided

Map vs Object.entries

only on a small collection

Small Map vs Small Object.entries iteration

A simple test comparing javascript maps vs object.entries on a small collection of values

boolean not to number

No description provided

Better set.has vs array.includes

It often does not make sense to just compare only includes vs has. If we can not create the Set beforehand to be reused, and we need to initialize it every time, it will probably deteriorate the performance and we are better off using just simple include most of the times.

getRelevantPositions2

No description provided

getRelevantPositions

No description provided

Comparison of date creation methods

new Date(value) new Date(dateString) new Date(year, monthIndex, day)

check for a single character

Testing some things

.startsWith vs .charAt vs .charCodeAt for single character

Testing some things

findIndex vs indexOf - JavaScript performance v2

No description provided

UUID m21ethods

No description provided

sdgdsdgswUUID methods

No description provided

slice vs substr vs sdsgubstring (with no end index)

Compares slice, substr and substring to each other when there is only a start index

UUID meth2odss1

No description provided

UUID methodss1

No description provided

UUID methodsdgsdgs1

No description provided

Lodash isEqual vs JSON stringify test

No description provided

deep json spread vs flat

No description provided

var vs let vs boolean vs string vs int

No description provided

boolean-vs-number

compare !!number and number

Ramda groupby vs vanilla reduce

No description provided

Ramda groupby

No description provided

Lodash.get vs Lodash.property vs native vs native with optional chaining

No description provided