Benchmark name | When Created |
---|---|
getElementById pre-buffered vs direct | one year ago |
getElementById buffered vs unbuffered | one year ago |
buffered getElementById vs non-buffered | one year ago |
class vs id test 3 | one year ago |
class vs id test2 | one year ago |
class vs id test | one year ago |
Option chaining and typeof 2 | one year ago |
Option chaining and typeof | one year ago |
what's faster | one year ago |
lodash merge vs object.assign vs spread 22222 | one year ago |
replace vs substring vs slice from END
Test the performance of replace() vs substring() vs slice() when replacing a char at the beginning of a (in this case uri query-)string that may or may not be there. Added the combined brackets[ ] + substr() method, since it's always the first char we wan't to pop off. Inspired by https://jsperf.com/replace-or-substr. Note: could not get 'let' and 'const' to work. Well, too bad... |
one year ago |
Array loop vs foreach vs map vs while (fixed v2) | one year ago |
Object.assign vs spread operator vs foreach set 2 | one year ago |
Object.assign vs spread operator vs foreach set | one year ago |
Object.assign vs foreach set | one year ago |
length = 0 vs reassignment | one year ago |
asdasds
a |
one year ago |
Object.fromEntries vs reduce 100000 | one year ago |
JSON.stringify vs Deep Clone | one year ago |
List vs Set | one year ago |
bignumber.js vs. big.js vs. decimal.js only calculation without toString()
- https://github.com/MikeMcl/bignumber.js/tree/v9.0.0 - https://github.com/MikeMcl/big.js/tree/v5.2.2 - https://github.com/MikeMcl/decimal.js/tree/v10.2.0 |
one year ago |
Native JS: concatenate string with + vs template literals (2)
find best solution for concatenate 4 strings |
one year ago |
Native JS: concatenate string with + vs template literals
find best solution for concatenate 4 strings |
one year ago |
Object.fromEntries vs reduce v21 | one year ago |
New Lodash sortBy vs orderBy fixed
Lodash sortBy vs orderBy |
one year ago |