Latest Benchmarks

Browse the latest JavaScript performance benchmarks created by the community.

Round Numbers to 2 digits

No description provided

createTextNode vs textContent vs innerText

No description provided

.dot vs ['bracket'] notation

Fork of https://jsperf.com/dot-vs-square-bracket/5

await delay vs setTimeout

No description provided

className vs. classList

Fork from https://measurethat.net/Benchmarks/Show/54/0/classname-vs-setattribute-vs-classlist

Rest vs. Arguments to Array

Using the rest syntax (...args) versus converting arguments to an array.

testest

No description provided

Element creation speed

Speed of different methods to create elements.

Element creation speed

Comparing speed of creating elements

for-vs-foreach-vs-forof

No description provided

JavaScript spread operator vs Object.assign performance

No description provided

lodash flatmap

No description provided

Array split vs string substring

No description provided

Array loop vs foreach vs map

No description provided

msgpack-lite vs. JSON

No description provided

regex vs strict equality vs endWith

No description provided

Anonymous Function in Loop

No description provided

undefined vs. typeof vs. in vs. hasOwnProperty

Object lookup performance

getElementById, querySelector, window

No description provided

angular.copy vs JSON.parse(JSON.stringify())

FIguring out the performance differences between using the operations in the name on copying an array of objects considering the fact that other methods of copying (slice, concat, etc.) are shallow copies and end up being by reference instead of by value.

uint8array

No description provided

shift vs pop

No description provided

Array.prototype.concat vs spread operator

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

jQuery Each vs For

No description provided

Loop test

No description provided

NEW BENCHMARK Your Benchmarks