Benchmark name | When Created |
---|---|
JavaScript Case Insensitive String Start: regex vs startsWith() vs indexOf() vs localeCompare() | one year ago |
JavaScript: Regex vs .startsWith vs .indexOf
fork of https://www.measurethat.net/Benchmarks/Show/975/11/regex-vs-indexof-vs-startswith-vs-substr |
one year ago |
spread vs concat vs unshift vs splice
spread vs concat vs unshift vs splice |
one year ago |
Spread operator vs Array.From()
Check the speed of using the spread operator against Array.from() |
one year ago |
Object vs Map getter/setter | one year ago |
Slice vs spread array
Measure which of the two options is a faster shallow copy |
one year ago |
Math.Max() vs Ternary
fghdfghdfg |
one year ago |
lodash deepClone vs. JSON.parse(JSON.stringify()) vs. lodash | one year ago |
slice vs splice: which one is fastest to extract all data from a long array
100k list In a for loop, extract 100 positions from the array each iteration |
one year ago |
oninput vs addEventlistener('input') | one year ago |
Event Js | one year ago |
map vs for (v6) | one year ago |
test bmad | one year ago |
Array.prototype.slice vs spread operator (updated)
Compare the new ES6 spread operator with the traditional slice() method |
one year ago |
innerHTML vs replaceChildren() vs removeChild()|appendChild(cloneNode()) | one year ago |
JavaScript spread operator vs spread to params | one year ago |
JS: append vs appendChild s | one year ago |
flatMap() vs filter().map() vs reduce vs for with indexed for
flatMap vs filter map vs reduce vs for looop |
one year ago |
Persistent objects | one year ago |
js cloning | one year ago |
For in vs Object.*.forEach vs Object.values different | one year ago |
Comparison of three map functions
There are three map functions. 1. Function with optimizations 2. The most common implementation of map 3. Native map as a function method |
one year ago |
babel transpiled optional chaining vs safeGet vs optional chaining | one year ago |
babel transpiled optional chaining vs safeGet | one year ago |
typeof vs comparison | one year ago |