Benchmark name | When Created |
---|---|
Spread vs. Ternary
Compare the speed of spread vs. ternary conditional operator when copying an object. |
5 years ago |
getElementById, getElementsByClassName vs querySelector
Test performance of different ways of get just one particular DOM element |
5 years ago |
Performance of delete on large arrays vs set undefined | 5 years ago |
if slice vs substr vs substring (with no end index)
Compares slice, substr and substring to each other when there is only a start index |
5 years ago |
_.isEmpty vs !array || !array.length | 5 years ago |
Object cloning with Lodash clone vs ES6 object spread vs ES6 Object.assign vs Json | 5 years ago |
foreach and map | 5 years ago |
lodash fp vs lodash vs vanilla vs ramda | 5 years ago |
Subarray - Splice vs Slice | 5 years ago |
Angular Copy vs Lodash Copy
compare object copy |
5 years ago |
reduce vs for to mapify array | 5 years ago |
JavaScript spread operator vs Object.assign performanceeww | 5 years ago |
spread vs push 12321321311122 | 5 years ago |
spread vs push 1232132131 | 5 years ago |
lodash includes vs includes vs indexof | 5 years ago |
concat vs lodash.concat vs. push.apply vs. spread operator vs. push in for loop | 5 years ago |
array object find vs _.find
Compare the new ES6 spread operator with the traditional concat() method |
5 years ago |
Array.reduce vs for loop vs Array.forEach v2
A test summing 1000 random numbers, 1 - 10000 |
5 years ago |
for loop | 5 years ago |
Ramda vs. Lodash 3
Compares performance on the same task using Lodash vs two styles of Ramda vs two styles of "native" Javascript. In all cases the task is pulling "counter" property from each item in an array, filtering out odd items, squaring them, then returning those squared values that have less than two digits. |
5 years ago |
querySelector-2 | 5 years ago |
querySelector | 5 years ago |
single x multi-pile | 5 years ago |
Regex vs .indexOf vs .startsWith 2
Testing some things |
5 years ago |
Set style vs setAtrribute("style") 6 | 5 years ago |