Benchmark name When Created
Array speed 18 days ago
Spread push vs forEach Push 18 days ago
className vs. getAttribute vs. classList 3 19 days ago
className vs. getAttribute vs. classList 2 19 days ago
shaders strings comparisons with Set has() 19 days ago
shaders strings comparisons with Set 19 days ago
Performance of JavaScript .forEach, .map and .reduce vs for and for..of with 1000p 19 days ago
Lodash.get vs Property dot notation with ? 19 days ago
create object vs Error 19 days ago
Spread vs unshift sam 19 days ago
Map vs Object.entries

only on a small collection

20 days ago
Small Map vs Small Object.entries iteration

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

20 days ago
boolean not to number 20 days ago
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.

20 days ago
getRelevantPositions2 20 days ago
getRelevantPositions 20 days ago
Comparison of date creation methods

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

20 days ago
check for a single character

Testing some things

20 days ago
.startsWith vs .charAt vs .charCodeAt for single character

Testing some things

20 days ago
findIndex vs indexOf - JavaScript performance v2 20 days ago
UUID m21ethods 20 days ago
sdgdsdgswUUID methods 20 days ago
slice vs substr vs sdsgubstring (with no end index)

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

20 days ago
UUID meth2odss1 20 days ago
UUID methodss1 20 days ago

 New benchmark Your benchmarks