Benchmark name | When Created |
---|---|
string concat (+) vs template literals (``) (10 vars)
string concat vs template literals (10 vars) |
5 years ago |
replace vs substring vs slice from beginning (+ brackets, substr, compiled vs inline regex)
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... |
5 years ago |
Lodash vs Ramda vs Underscore 1.5.2 | 5 years ago |
jQuery removeClass vs classList.remove | 5 years ago |
Array concat vs spread operator vs push for single element
Compare the new ES6 spread operator with the traditional concat() method and push |
5 years ago |
Array.prototype.concat vs spread operator vs flat
Compare the new ES6 spread operator with the traditional concat() method |
5 years ago |
filter vs compact vs flat | 5 years ago |
Array.prototype.concat vs spread operator (no jQuery merge)
Compare the new ES6 spread operator with the traditional concat() method |
5 years ago |
for vs for..in | 5 years ago |
hb-2365-test (tes1t) | 5 years ago |
hb-2365-test | 5 years ago |
DOM api vs innerHTML | 5 years ago |
JavaScript spread operator vs Object.assign performance reassign same variable | 5 years ago |
variety of loops in js | 5 years ago |
Lodash compact | 5 years ago |
_.forEach vs Array.forEach | 5 years ago |
Merge array test 2 | 5 years ago |
Concatenation strategies
Test different strategies of concatenating large string with small strings |
5 years ago |
Merge array test | 5 years ago |
Lodash filter + map vs forEach - corrected | 5 years ago |
lodash vanilla while test | 5 years ago |
lodash vanilla test | 5 years ago |
Lodash.get vs Lodash.property vs Dot vs Brackets | 5 years ago |
for vs foreach vs some big
Compare loop performance |
5 years ago |
for vs forEach!232112 | 5 years ago |