Benchmark name When Created
$.inArray vs Array.prototype.includes 6 years ago
Reference vs New Variable

This looks at the cost of assigning a new

6 years ago
Push vs. Spread 6 years ago
Capitalize first char of a string 2 6 years ago
Arrowfunc 6 years ago
Capitalize first char of a string 6 years ago
Array.prototype.concat vs Spread speedtest 6 years ago
Spread vs Array.prototype.concat 6 years ago
in vs typeof 6 years ago
Remove item from array

Remove item from array with indexOf, splice, filter and copy

6 years ago
Fill array with random integers

Fill Array(1000) with random 1 - 999999 inclusive

6 years ago
2 direct styles vs. setAttribute vs. classList 6 years ago
direct style vs. setAttribute vs. classList 6 years ago
_.uniq() vs Set() over large array 6 years ago
JavaScript spread operator vs Object.assign performance (fixed)

JavaScript spread operator vs Object.assign performance, fixed. The original test did not create new object for the Object.assign case

6 years ago
deep copy perf 6 years ago
_.uniq() vs Set() 6 years ago
Array.prototype.concat vs spread operator12

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

6 years ago
Object spread operator vs property assignment 6 years ago
Object.hasOwnProperty vs Object in vs Object[] 6 years ago
Testing isArray vs custom isArray vs pop vs array2

Testing isArray vs jQuery.type === "array"

6 years ago
undefined vs. typeof vs. in vs. hasOwnProperty vs wrapped function

Object lookup performance

6 years ago
Lodash.js vs Native isArray 6 years ago
for vs foreach vs some vs for..of vs jQuery.each()

Compare loop performance

6 years ago
toCamelCase 6 years ago

 Create Your benchmarks


;