Latest Benchmarks

Browse the latest JavaScript performance benchmarks created by the community.

Map creation alternatives

No description provided

Array.includes() vs Set.has() for small Arrays invoked many times

No description provided

EventTarget vs custom observable implementation

Compares browser's built-in "EventTarget" with custom similar implementation

teardown + simple versus get x versus array[0] versus Float32Array versus Float32Array get versus Int32Array versus Int32Array extended

No description provided

simple versus get x versus array[0] versus Float32Array versus Float32Array get versus Int32Array versus Int32Array extended revision

No description provided

simple versus get x versus array[0] versus Float32Array versus Float32Array get versus Int32Array versus Int32Array extended

No description provided

get x versus array[0] versus Float32Array versus Float32Array get versus Int32Array versus Int32Array extended

No description provided

get x versus array[0] versus FloatArray32 versus FloatArray32 get

No description provided

set.has vs. array.includes of IPs

No description provided

get x versus array[0]

No description provided

Variable vs array with one item

Testing the performance impact of an array when it only contains one item

Lodash pick vs native pick

Comparing Lodash _.pick with a native implementation.

Lodash pick vs native

Comparing Lodash _.pick with a native implementation.

String() vs Empty String

No description provided

javascript includes vs indexOf with different items

javascript includes vs indexOf with different items

Lodash isEqual test MB99

Test on isEqual performance

Clone objects

No description provided

Lodash big cloneDeep vs structuredClone

https://developer.mozilla.org/en-US/docs/Web/API/structuredClone

Array concat vs spread operator vs push large with smaller array added

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

Array concat vs spread operator vs push large array

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

clsx or classList

No description provided

getBoundingClientRect width vs offset width

No description provided

Object arrays: findIndex vs for loop start from some index

Testing finding an object array via findIndex or by using a for loop starting from some index

Matrix Transpose

No description provided

NaN/Infinity shortcut vs variable

No description provided