Benchmark name When Created
Is String Set be faster than many equal? (3) 7 months ago
soa vs aos 2

As titled

7 months ago
Is String Set be faster than many equal? 7 months ago
Include vs Binary search in sorted array vs Map.has() vs Object[] large ver. 7 months ago
Array.from vs Array.fill (zeroes) 7 months ago
Array speed 7 months ago
Spread push vs forEach Push 7 months ago
className vs. getAttribute vs. classList 3 7 months ago
className vs. getAttribute vs. classList 2 7 months ago
shaders strings comparisons with Set has() 7 months ago
shaders strings comparisons with Set 7 months ago
Performance of JavaScript .forEach, .map and .reduce vs for and for..of with 1000p 7 months ago
Lodash.get vs Property dot notation with ? 7 months ago
create object vs Error 7 months ago
Spread vs unshift sam 7 months ago
Map vs Object.entries

only on a small collection

7 months ago
Small Map vs Small Object.entries iteration

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

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

7 months ago
getRelevantPositions2 7 months ago
getRelevantPositions 7 months ago
Comparison of date creation methods

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

7 months ago
check for a single character

Testing some things

7 months ago
.startsWith vs .charAt vs .charCodeAt for single character

Testing some things

7 months ago
findIndex vs indexOf - JavaScript performance v2 7 months ago

 Create Your benchmarks


;