Benchmark name | When Created |
---|---|
JSON query | 3 years ago |
array indexOf vs includes vs some vs Set has
performance comparison of ways to find if an array contains a value |
3 years ago |
fromArray or desctucturing to convert Set to array | 3 years ago |
Lodash.isEqual vs JSON.stringify Equality Comparison for Shallow Array of Strings.214
Test on isEqual performance |
3 years ago |
Lodash.isEqual vs JSON.stringify Equality Comparison for Shallow Array of Strings.c
Test on isEqual performance |
3 years ago |
some vs for..of (with condition)
some vs for...of |
3 years ago |
for + for or reduce
for + for or reduce |
3 years ago |
Ramda vs. Lodash 2021
Compares performance on the same task using Lodash vs two styles of Ramda vs two styles of "native" Javascript. In all cases the task is pulling "counter" property from each item in an array, filtering out odd items, squaring them, then returning those squared values that have less than two digits. |
3 years ago |
pop vs length 123456 22
asd asd asd asd asd |
3 years ago |
array bool find vs some
without PENDING |
3 years ago |
array boolean find vs some | 3 years ago |
Array.includes vs json[key] | 3 years ago |
for loop comparison test modernized ES6 | 3 years ago |
test branching or no branching (fix control)
test branching or no branching |
3 years ago |
getCookie: for vs for...of vs indexOf vs find vs reduce
Performance comparison of 5 functions to get Cookie value from a document.cookie string. |
3 years ago |
iso date string sort comparison
compares ways of sorting a list of dates in the form of ISO dates |
3 years ago |
find() vs indexOf() vs for...of vs for-loop - bigger array
Testing the difference between native loops and find() with a bigger array of 10,001 elements :) Fixed bug in the original test forked from: https://www.measurethat.net/Benchmarks/Show/4261/0/find-vs-forof-vs-for-loop (node.id is undefined in find() test) |
3 years ago |
isNumber: regex vs isNaN vs string comparison (version: 1) vs parseInt 2
another attempt |
3 years ago |
isNumber: regex vs isNaN vs string comparison (version: 1) vs parseInt | 3 years ago |
Lodash filter length vs sumby 20211125 | 3 years ago |
childNodes vs children vs firstChild vs firstElementChild
Fastest way to list children |
3 years ago |
document.body vs document.querySelector | 3 years ago |
isNumber: regex vs isNaN vs string comparison (version: 1) | 3 years ago |
parseFloat vs Number.parseFloat | 3 years ago |
Number.parseFloat vs parseFloat | 3 years ago |