Latest Benchmarks

Browse the latest JavaScript performance benchmarks created by the community.

Object.fromEntries vs direct map

No description provided

Appending list of elements

No description provided

for loop vs for loop w/ cached array length

No description provided

strict equal vs loose equal

No description provided

Element.append vs Node.appendChild

No description provided

Some vs Find vs For [Testing Fok]

No description provided

Set.union vs Set.add

No description provided

asfefewcwegrewt4y 56 kil ytf j tfj

No description provided

Benchmark 3: UI Integration (inline script execution)

No description provided

Benchmark 2: Expressions / Placeholders

eval vs new Function

Compare JS `for...of` VS `filter` VS `reduce` VS `forEach`

No description provided

MomentJS VS Date222

No description provided

JS bench

a

Array fill vs new Array(number)

No description provided

Math.sqrt(x * x) vs Math.sqrt(x ** 2)

Math.sqrt(x * x) vs Math.sqrt(x ** 2)

querySelector v getElementById

No description provided

(x ** 0.5) vs Math.sqrt(x) (inverse order)

No description provided

parsing query param keys with string or regex

No description provided

JS includes vs StartWith vs substring + ==

No description provided

regexp with i option VS regexp with lowercase input

test it

Array.sort with strings vs arrays

No description provided

new Operator vs object literal

No description provided

2 getItems(): flatMap() vs map() and flat()

getItems() behavior from Mikro ORM: flatMap vs map and flat

getItems(): flatMap() vs map() and flat()

getItems() behavior from Mikro ORM: flatMap vs map and flat

Optional Chaining versus _.get lodash V22

No description provided