Benchmark name When Created
.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
querySelectorAll - vs - getElementsByClassName 6 years ago
Moz lodash map vs es6 map 6 years ago
Object Deep Copy Test3

Produce a deep copy of a Javascript object where nested objects are not simply references to the originals.

6 years ago
> vs == 6 years ago
Which operator (== vs >) is faster?

Is there a performance benefit to replacing == with >?

6 years ago

 Create Your benchmarks


;