Latest Benchmarks

Browse the latest JavaScript performance benchmarks created by the community.

Test comparison

No description provided

teste array

No description provided

lodash clonedeep vs json.parse(stringify()) vs deepClone v9

No description provided

lodash clonedeep vs json.parse(stringify()) vs deepClone v8

No description provided

Native For ... of vs forEach

No description provided

set/removeAttribute, classList with css

No description provided

indexOf vs map vs Set vs native Map

No description provided

setAttribute, classList with css

No description provided

setAttribute, classList

No description provided

Covert Node List to array

No description provided

JavaScript spread operator vs Object.assign performance v2022

No description provided

setting property vs Object.assign

No description provided

Sliding Window Maximum from Leetcode

No description provided

Set vs Filter for unique for me

No description provided

8x addEventListener('resize') VS matchMedia()

This benchmark compares using `addEventListener('resize')` with window.innerWidth VERSUS window.matchMedia with its `addListener()` function to see which is faster, when checking multiple conditions (8 different sizes, in this case).

Ramda vs. Lodash (without chain)

Compares performance on the same task using Lodash vs two styles of Ramda vs two styles of "native" Javascript. In all cases the task is pulling "counter" property from each item in an array, filtering out odd items, squaring them, then returning those squared values that have less than two digits.

Map vs Object 3

Lookup of map vs object

xyzabc123

No description provided

xyzabc

No description provided

lodash chain vs set

No description provided

set by path recursive vs while loop v2

No description provided

set by path recursive vs while loop v1

No description provided

structuredClone vs spread vs Object.assign()

No description provided

structuredClone vs spread

No description provided

Object.is(value, -0) vs 1/value === -Infinity

No description provided