Latest Benchmarks

Browse the latest JavaScript performance benchmarks created by the community.

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

RFDC | Lodash cloneDeep | JSON | jQuery Extend | structuredClone | on Chrome

No description provided

set vs array find if exists v2

No description provided

set vs array find if exists

No description provided

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

No description provided

xxxgfsdgsdgfgggfgfsd

No description provided

xxxgfsdgsdgfggg

No description provided

xxxgfsdgsdgf

No description provided

Delete vs destructure for objects with and without mutating

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

Include vs Binary search in sorted array vs Map.has() vs Object[] (20 elements)

No description provided