Benchmark name | When Created |
---|---|
structuredClone test2
compare array copy/clone methods sdfewfe |
one year ago |
Node closest vs node contains forkedd | one year ago |
Mathjs Performance | one year ago |
Mathjs evaluation | one year ago |
Array vs Iterators | one year ago |
arr unshift vs reverse + push + reverse (small array) | one year ago |
msgpack-lite vs json vs pako gzip | one year ago |
startsWith or regex test or indexOf | one year ago |
startsWith or regex test | one year ago |
className vs. setAttribute vs. classListasdfa | one year ago |
String to number, parseInt, +, or * 1
Which method of casting a string to a number is fastest |
one year ago |
includes vs regex | one year ago |
Longer regex test vs string includes | one year ago |
Long regex test vs string includes | one year ago |
toMap - iterative vs .map | one year ago |
Lodash.assign vs Object.assign vs spread assign
Measuring approaches performance |
one year ago |
array indexOf vs includes vs some - 100 numbers, find middle
performance comparison of ways to find if an array contains a value |
one year ago |
IndexOf vs Includes in string 24
Banana |
one year ago |
replaceAll vs regex with g flag | one year ago |
redcue vs flatMap | one year ago |
str.match vs str.split vs deconstruction
Test String.match with regex against String.split with string and string deconstruction. We are splitting a string at the spaces. |
one year ago |
Javascript string.endsWith vs string.slice and tripple equal (one char) | one year ago |
Large JSON comparsion | one year ago |
replace vs substring2w22
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 |
flatMap vs reduce vs loop filtering performance vs filter
https://stackoverflow.com/a/77247681 |
one year ago |