Benchmark name | When Created |
---|---|
Array.prototype.concat vs spread operator bugfixed
Compare the new ES6 spread operator with the traditional concat() method |
6 years ago |
Date.parse and toString() vs new Date | 6 years ago |
JQuery $ vs Vanilla JS | 6 years ago |
jQuery 3.3.1 selector vs document.querySelectorAll
Comparing speed of jQuery 3.3.1 selector and vanilla JS querySelectorAll |
6 years ago |
23rergrfrfg-2 | 6 years ago |
.indexOf vs .startsWith
Testing some things |
6 years ago |
Function vs reference | 6 years ago |
Assignment of value vs Destructuring an object | 6 years ago |
Object.assign vs spread -- No jQuery | 6 years ago |
a*a...*a vs a***x vs Math.pow(a,x) | 6 years ago |
a*a vs a**2 | 6 years ago |
jQuery by id vs Document.getElementById vs Document.querySelector (fix)
Comparing speed of getting element by id with jQuery vs Vanilla JS (fix) |
6 years ago |
jQuery by id vs Document.getElementById vs Document.querySelector ($ fix)
Comparing speed of getting element by id with jQuery vs Vanilla JS ($ fix) |
6 years ago |
Iterate over object
Various cases to iterate over given object |
6 years ago |
assign vs _.clone vs native clone vs JSON vs Recursive | 6 years ago |
nested if else vs ternary | 6 years ago |
if vs ternary | 6 years ago |
2-tier vs 3-tier Object.assign vs 3-tier spread vs 3-tier constructor
This demonstrates the difference in performance between 2-tier architectures, which simply return database objects through controllers from the repositories vs 3-tier architectures which run some sort of service layer mapping to obfuscate unnecessary db information from both the controller layer and, subsequently, the front-end. Such mapping logic will ideally use Object.assign, the spread operator, or perhaps an explicit constructor mapping. |
6 years ago |
JS cloning benchmark | 6 years ago |
assignment
ba |
6 years ago |
Deep Clone Performance - JSON vs Lodash vs Ramda vs Native | 6 years ago |
createTextNode vs textContent vs innerText vs innerHTML | 6 years ago |
Lodash each vs native Object.keys.forEach | 6 years ago |
concat vs [...spread] | 6 years ago |
delete vs omit | 6 years ago |