Benchmark name | When Created |
---|---|
spread v push | 3 years ago |
Conditions | 3 years ago |
React Hooks vs. Inline, useMemo, memo | 3 years ago |
flatMap() vs filter().map() vs reduce() vs for-loop v1
flatMap vs filter map vs reduce() |
3 years ago |
flatMap() vs filter().map() vs reduce() v4
flatMap vs filter map vs reduce() |
3 years ago |
flatMap() vs filter().map() vs reduce() v3
flatMap vs filter map vs reduce() |
3 years ago |
Find in array
Finds if a string is inside an array of strings |
3 years ago |
multiple selectors vs multiple matches
Is it faster to check if a full selector matches an element or if individual selectors match? One matching selector is FASTER than many by a factor of x3 (which only gets worse as more selectors are searched, > 1000 is like x7) HOWEVER, if you need to determine WHICH selectors match, that requires you to do the individual search, at which point your search is actually a quarter worse than just doing the individual search at the start. nullifying much of the savings. If a match will be RARE, it could make sense to do the full string. however, if a match is common, I'd just stick with the individual matching from the start. |
3 years ago |
Math.random vs crypto.getRandom Alberto | 3 years ago |
trim-loadsh vs native-trim1 | 3 years ago |
Canvas clearing performance v3
https://stackoverflow.com/questions/2142535/how-to-clear-the-canvas-for-redrawing |
3 years ago |
Javascript Sorting Algorithmzzz
Port from jsperf(https://jsperf.com/sorting-algorithms/58) |
3 years ago |
Compare lodash isEmpty and length comparison on arrays, stings and custom function isEmpty | 3 years ago |
Compare lodash isEmpty and length comparison on strings
Comparing performance of: isEmpty empty strings vs length empty strings isEmpty filled string vs length filled string |
3 years ago |
Index vs slice | 3 years ago |
Parse snippet 2 | 3 years ago |
Parse snippet | 3 years ago |
Array concat vs spread operator vs push123123
Compare the new ES6 spread operator with the traditional concat() method and push |
3 years ago |
FSM - Array spread vs Array push | 3 years ago |
string-interpolation-vs-concatenation-for-random-numbers | 3 years ago |
new Date from UNIX timestamp vs ISO string | 3 years ago |
getElementById vs querySelectorrthtyj | 3 years ago |
lodash omit | 3 years ago |
Direct property lookup vs in vs typeof | 3 years ago |
toFixed vs toPrecision vs Math.round() vs Math.floorfast3 | 3 years ago |