Browse the latest JavaScript performance benchmarks created by the community.
No description provided
No description provided
No description provided
sort vs unshift
No description provided
Designed to measure the performance of a workaround where an IIFE is used to eliminate let and return statements, which makes the function shorter.
See also https://www.measurethat.net/Benchmarks/Show/29250
extends https://www.measurethat.net/Benchmarks/Show/4223
No description provided
No description provided
No description provided
No description provided
No description provided
No description provided
No description provided
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.
No description provided
No description provided
No description provided
Object vs Class performance
No description provided
No description provided
By writing javascript web applications It is often common the need to show or hide elements like a div according to the user actions. Is it better to do this by creating and appending the node when it is needed or to create the node on the application start and then just display or hide it? This benchmark is a performance test of this particular use case. In this version, the createAppendDiv was isolated from operations that can be done once, so the test executes just the operations that are really essencial for the test case.
Testing if replacing using Regex is faster
Compare the new ES6 spread operator with the traditional concat() method and push