Benchmark name | When Created |
---|---|
Testing 4567
save length of the array in the variable vs get it the loop |
5 years ago |
Boolean constructor vs double negotiation trick in javascript | 5 years ago |
_.isEmpty vs You-Dont-Need-Lodash-Underscore#_isempty | 5 years ago |
PH - Object Creation | 5 years ago |
slice vs substr vs substring (with end index) -x
Compares slice, substr and substring to each other when there is only a start index |
5 years ago |
getElementById vs id function
document.getElementById() versus id wrapper function Performance comparison of inline use of the browser native DOM method document.getElementById() vs javascript wrapper functions in various forms (declaration, expression, arrow). As expected there are not big differences, but it is interesting that calling the JS wrapper function can be faster in some cases. |
5 years ago |
createElement vs cloneNode vs cloneNode(false)
Faster way to create new dom elements before insertion |
5 years ago |
Lodash get vs isNil | 5 years ago |
key vs key | 5 years ago |
Compare spread operator in objects vs set the properties in the object directly
This benchmark is to compare the cost of using the spread operator in objects |
5 years ago |
Lodash Difference vs Set.delete 2 | 5 years ago |
Lodash Difference vs Set.delete | 5 years ago |
spread vs for | 5 years ago |
spread vs while | 5 years ago |
from vs spread | 5 years ago |
Lodash.get vs Property dot notation my test | 5 years ago |
Stringify vs Assign | 5 years ago |
Lodash.js vs Native testg | 5 years ago |
Finite vs Known Multiples (High Limit)
I'm a dog with a bone. |
5 years ago |
Finite vs Known Multiples
I'm a dog with a bone. |
5 years ago |
Finite vs Multiples Only
I'm a dog with a bone. |
5 years ago |
destruct and test vs. property access test for type
Use destruct syntax let {x} = config; if(x){} compared to if(typeof config.x === 'string'){} |
5 years ago |
typeof 3 types using function
typeof operator on various types |
5 years ago |
Array.prototype.concat vs push w/ spread operator vs spread operator
Compare the new ES6 spread operator with the traditional concat() method |
5 years ago |
Lodash omit vs Native delete - Mantz | 5 years ago |