Benchmark name When Created
lodash isPlainobject vs valina JS one year ago
childNodes vs children vs firstChild/nextSibling vs firstElementChild/nextElementSibling (optimized html)

Fastest way to list children

one year ago
new Array(n) vs []

I want to see which one is more efficient

one year ago
typeof x === 'number' vs Number.isNaN(x)

check what is faster

one year ago
dayjs vs luxon vs js-joda vs date-fns (parsing) one year ago
Split vs Spread (randomized) one year ago
Find min number

Conclusion: If your array length is small (less than 200) use Math, otherwise for large dataset "For loop" is faster.

one year ago
dayjs vs luxon vs js-joda vs date-fns (calculating) one year ago
dayjs vs luxon vs js-joda vs date-fns (manipulating) one year ago
dayjs vs luxon vs js-joda vs date-fns (comparing) one year ago
dayjs vs luxon vs js-joda vs date-fns (formatting) one year ago
Access to Proxy vs Object vs eval one year ago
window.getComputedStyle vs. getBoundingClientRect 1111 one year ago
str.match vs str.Split in regex

Test String.match with regex against String.split with string. We are splitting a string at the spaces.

one year ago
parseInt value comparison one year ago
remove first item of array one year ago
chain of or equals vs includes but smaller

how much of a performance deficit you can expect from using Array.includes instead of manually writing a chain of logical ORs

one year ago
aaaabbbnmmbhjhgsdfsdff

bbbbbsdfnjmym,s

one year ago
aaaabbbnmmbhjhgsdf

bbbbb

one year ago
aaaabbbnmmbhjhg

bbbbb

one year ago
aaaabbb

bbbbb

one year ago
string-interpolation2-vs-concatenation2 one year ago
RegEx.test vs Array.find.includes one year ago
FastSqrt one year ago
String start with 1st char one year ago

 Create Your benchmarks