Latest Benchmarks

Browse the latest JavaScript performance benchmarks created by the community.

_.isEqual vs ===

_.isEqual vs ===

Array.prototype.slice(0) vs spread operator 99999

Compare the new ES6 spread operator with the traditional slice(0) method

Array filter falsy

No description provided

Array.prototype.slice(0) vs spread operator

Compare the new ES6 spread operator with the traditional slice(0) method

test two of the same

No description provided

For of vs map

No description provided

[forked] append scalar value Array.prototype.concat vs spread operator vs push

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

Stardust variables

No description provided

Compare spread operator and concat in arrays

This benchmark is to compare the cost of using the spread operator

Compare the cost of Array.prototype.length

This benchmark is to compare if storing the length of an array in a variable is valuable when it is needed to access this data multiple times

test substring vs slice vs substr

No description provided

filter + map vs conditional + foreach

Compare chained `array.filter().map()` vs creating a new array, looping through the previous one and conditionally pushing to it.

getElementById vs querySelector vs getElementsByClassName vs getElementsByName no double id

Test performance of different ways of get just one particular DOM element

toFixed(2) vs Math.floor method

No description provided

jQuery Id selector vs Document.getElementById vs Document.querySelector

Comparing speed of getting element by id with jQuery vs Vanilla JS vs Vanilla JS querySelector

createTextNode vs textContent vs innerText vs nodeValue

No description provided

Comparison with className vs classList with unique value

No description provided

nth child

No description provided

lodash includes vs ramda includes

No description provided

dataset vs getAttribute

No description provided

jQuery val()

No description provided

copyWithin vs iterate (Attempt 2)

comparing copyWithin vs iterate for black pixel removal

copyWithin vs iterate (with GPU Raster and A Larger Image)

comparing copyWithin vs iterate for black pixel removal

copyWithin vs iterate

comparing copyWithin vs iterate for black pixel removal

Destructuring test 2

No description provided