Browse the latest JavaScript performance benchmarks created by the community.
No description provided
No description provided
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.
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.
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.
No description provided
ES6 Class vs Prototype with longer chain vs Object Literal
Testing finding an object array via findIndex or by using a for loop
Test speed of object access by key vs array find to find object
Compare the new ES6 spread operator with the traditional concat() method and push
No description provided
No description provided
No description provided
No description provided
No description provided
No description provided
No description provided
No description provided
No description provided
No description provided
No description provided
No description provided
No description provided
Measure the performance of delete versus removing a prop from an object without mutating
No description provided