Latest Benchmarks

Browse the latest JavaScript performance benchmarks created by the community.

string literal vs array join

No description provided

Delete vs destructure for cloned objects

Measure the performance of delete versus removing a prop from an object

Function pre declared vs function declared on go.

No description provided

JS Filter Test newer Lodash

No description provided

scrollY vs pageYOffset

No description provided

array filtering v3

Compare array filtering: - Boolean - x => !!x - x => x - delete + .flat - own preserve length - own

> or !===

No description provided

Reduce + Spread vs Reduce + Concat vs Reduce + Concat (spread)

No description provided

Reduce + Spread vs Reduce + Concat

No description provided

undefined vs. typeof vs. in vs. hasOwnProperty (missing key)

Object lookup performance

For in vs Object.keys.forEach vs. Object.keys+for

No description provided

Array loop for vs foreach vs map vs for..of

No description provided

element.getAttribute("name") vs element.attributes.name.value

No description provided

new Error vs new Object

Comparing error creation performance

ResizeObserver vs matchMedia

No description provided

Some vs Find -- smaller

No description provided

Some vs Find small sample

No description provided

Lodash Uniq vs Javascript Set, smaller set

No description provided

native find vs lodash _.find vs map+indexOf vs findIndex

Compare the new ES6 spread operator with the traditional concat() method

Set union

No description provided

_.fromPairs vs Object.fromEntries

No description provided

Read/Write cycle for fixed size array (Massive Data)

10 writes per 1 read

Read/Write cycle for fixed size array

10 writes per 1 read

Undefineds

All JS code-golf undefined variants.

DOM selector benchmark about class, data attribute

No description provided