Benchmark name | When Created |
---|---|
switch vs if (3) | one year ago |
Is String Set be faster than many equal? (3) | one year ago |
soa vs aos 2
As titled |
one year ago |
Is String Set be faster than many equal? | one year ago |
Include vs Binary search in sorted array vs Map.has() vs Object[] large ver. | one year ago |
Array.from vs Array.fill (zeroes) | one year ago |
Array speed | one year ago |
Spread push vs forEach Push | one year ago |
className vs. getAttribute vs. classList 3 | one year ago |
className vs. getAttribute vs. classList 2 | one year ago |
shaders strings comparisons with Set has() | one year ago |
shaders strings comparisons with Set | one year ago |
Performance of JavaScript .forEach, .map and .reduce vs for and for..of with 1000p | one year ago |
Lodash.get vs Property dot notation with ? | one year ago |
create object vs Error | one year ago |
Spread vs unshift sam | one year ago |
Map vs Object.entries
only on a small collection |
one year ago |
Small Map vs Small Object.entries iteration
A simple test comparing javascript maps vs object.entries on a small collection of values |
one year ago |
boolean not to number | one year 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. |
one year ago |
getRelevantPositions2 | one year ago |
getRelevantPositions | one year ago |
Comparison of date creation methods
new Date(value) new Date(dateString) new Date(year, monthIndex, day) |
one year ago |
check for a single character
Testing some things |
one year ago |
.startsWith vs .charAt vs .charCodeAt for single character
Testing some things |
one year ago |