Latest Benchmarks

Browse the latest JavaScript performance benchmarks created by the community.

Javascript native forEach vs _.forEach

No description provided

Optional Chaining vs Ramda 0.29

No description provided

toSpliced vs splice vs with

No description provided

toSorted vs slice&sort

No description provided

lodash merge vs deepmerge vs simple clone function (multiple style objects)

No description provided

Euclidean distance comparison

A demonstration of efficient and inefficient eculidean distance comparisons

Strings starts with using startsWith, array access, slice.

No description provided

lodash merge vs deepmerge vs deepmerge-ts vs @fastify/deepmerge vs just-extend (take 3)

No description provided

Long and dynamic Inheritance => Prototype vs Object Literal - v2

No description provided

Vue Reactive vs Ref both objects

No description provided

Long and dynamic Inheritance => Prototype vs Object Literal - v1

No description provided

Lodash union vs Native Javascript

This benchmark compares the performance of lodash's `union` function with native JavaScript code for creating an array of unique values from all given arrays. The lodash `union` function creates an array of unique values, in order, from all given arrays. The native JavaScript code uses the `Array.prototype.concat()` method combined with `new Set()` to achieve the same result.

Lodash has vs Native Javascript

This benchmark compares the performance of lodash's `has` function with native JavaScript code for checking if an object has a specific property. The lodash `has` function checks if `path` is a direct property of `object`. The native JavaScript code uses the `in` operator to check if an object has a specific property.

Lodash isEmpty vs Native Javascript

This benchmark compares the performance of lodash's `isEmpty` function with native JavaScript code for checking if an object is empty. The lodash `isEmpty` function checks if a value is an empty object, collection, map, or set. The native JavaScript code checks if an object has no own enumerable string keyed properties.

Current Year First Date

No description provided

ES6 Class vs Prototype with longer chain vs Object Literal

ES6 Class vs Prototype with longer chain vs Object Literal

Object arrays: findIndex vs for loop 22

Testing finding an object array via findIndex or by using a for loop

Object key access vs array find 100 items yeh ok

Test speed of object access by key vs array find to find object

Array concat vs spread operator vs push vs push apply

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

eval vs new Function vs vanilla

No description provided

Check speed between filter and findIndex /Slice when removing one item from an array

No description provided

filter in Math.min

No description provided

Test Test Test 1

No description provided

Object: RFDC | Lodash cloneDeep | JSON | jQuery Extend | structuredClone | v2

No description provided

2D Array: RFDC | Lodash cloneDeep | JSON | jQuery Extend | structuredClone

No description provided