Benchmark name | When Created |
---|---|
for vs for cached length vs foreach vs some vs for..of
Compare loop performance |
one year ago |
Object.prototype.toString vs fn.call.bind(Object.prototype.toString) | one year ago |
flatMap() vs only filter()
flatMap vs filter |
one year ago |
Object.prototype.toString vs fn.bind(Object.prototype.toString) | one year ago |
Access property directly vs Getter/Setter | one year ago |
Direct access to property vs Getter/Setter | one year ago |
pop() vs shift() vs unshift vs pop (25k elements) | one year ago |
Deep clone: lodash vs ramda
Deep ccomparisonh vs ramda |
one year ago |
Object spread | one year ago |
if undefined vs falsy
which is faster |
one year ago |
at VS slice VS length: who is the fastest to get last item | one year ago |
setting innerHTML vs innerText vs textContent
blah blah |
one year ago |
JSON.stringify vs Array.toString() on Array of Objects | one year ago |
Fastest way to check if object is empty2
You don't need to make add for loops in your test scenarios, the benchmark does it itself. |
one year ago |
bignumber.js vs. big.js vs. decimal.js big num 10** 18
- https://github.com/MikeMcl/bignumber.js/tree/v9.0.2 - https://github.com/MikeMcl/big.js/tree/v5.2.2 - https://github.com/MikeMcl/decimal.js/tree/v10.2.0 |
one year ago |
bignumber.js vs. big.js vs. decimal.js big num
- https://github.com/MikeMcl/bignumber.js/tree/v9.0.2 - https://github.com/MikeMcl/big.js/tree/v5.2.2 - https://github.com/MikeMcl/decimal.js/tree/v10.2.0 |
one year ago |
Lodash Flatten v.s. concat111242 | one year ago |
string_concat_vs_append
Concatenation of two strings. |
one year ago |
Lodash Flatten v.s. concat111 | one year ago |
deepclone vs deepfreeze | one year ago |
String.includes vs String.match vs String.indexOf | one year ago |
Lodash vs Native Date string comparison | one year ago |
Date vs String Parse v2 | one year ago |
Date vs String Parse | one year ago |
lodash unique vs [...Set]
lodash unique compared to converting a set to array of same list |
one year ago |