Benchmark name When Created
map vs obj test

test

one year ago
String in Array: Set vs IndexOf vs includes vs findIndex vs find v2 one year ago
String in Array: Set vs IndexOf vs includes vs findIndex vs find one year ago
Check if Object has Length in JavaScript

LET THE FUN BEGIN ....

one year ago
JS Tests one year ago
test underscore contains one year ago
Test if else 4 one year ago
Test if else 3 one year ago
Test if else 2bis one year ago
Test if else 2 one year ago
Test if else one year ago
foreach vs for...of w/o enties() for uint8array

Compare loop performance

one year ago
foreach vs for...of w/ enties() for uint8array

Compare loop performance

one year ago
filter vs flatMap v2 one year ago
filter vs flatMap one year ago
function(){} and ()=>{} one year ago
Object.fromEntries vs reduce test 4 one year ago
Object.fromEntries vs reduce test 2 one year ago
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

 Create Your benchmarks