Benchmark name | When Created |
---|---|
classList.contains vs. loop vs regex | 3 years ago |
for vs foreach vs some vs for..of vs while 2
Compare loop performance |
3 years ago |
Lodash "unionBy" test | 3 years ago |
Create empty array | 3 years ago |
Array.prototype.concat vs spread operator (minus jquery)
Compare the new ES6 spread operator with the traditional concat() method |
3 years ago |
Case Insensitive String Comparison for Sorting
Compare localeCompare against standard string value comparison |
3 years ago |
AOC Day 7
Iterative vs Recursive Solution |
3 years ago |
slice vs substr vs substring (with no end index) and long text
Compares slice, substr and substring to each other when there is only a start index |
3 years ago |
Array vs Str split | 3 years ago |
substring then split v.s. split then shift | 3 years ago |
check number vs check object (lodash) | 3 years ago |
Id vs qs vs qsa | 3 years ago |
Map vs Object, numeric key
Lookup of map vs object |
3 years ago |
object.assign vs forin | 3 years ago |
Uniq vs set | 3 years ago |
Object.keys vs Object.getOwnPropertyNames | 3 years ago |
getElementById vs document
<div id="app"></div> |
3 years ago |
Get arguments vs make object | 3 years ago |
My querySelectorAll vs getElementsByClassName | 3 years ago |
Lodash IsEmpty | 3 years ago |
for vs foreach vs some vs for..of 1000 (improved)
Compare loop performance |
3 years ago |
For..of (with Reverse) vs For (backwards) | 3 years ago |
Benchmark on spread and concat
Compare the new ES6 spread operator with the traditional concat() method |
3 years ago |
String Concatenation Example | 3 years ago |
optimizing DOM selectors
optimizing DOM selectors |
3 years ago |