Latest Benchmarks

Browse the latest JavaScript performance benchmarks created by the community.

Array push vs spread when reducing over results

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

for vs do while 2

No description provided

for i inside or outside var 3

No description provided

getElementsByClassName, For i, For of, For each, Some, Every, Map 2

getElementsByClassName, For i, For of, For each, Some, Every, Map

getElementById vs querySelector, with ten elements

No description provided

getElementById vs querySelector, with two elements

No description provided

Function call vs Object

Compare Function calls vs Object

JSON Stringify Speed Test - Large Payloads

This benchmark tests whether the speed or JSON.stringify changes with object size

JSON Stringify Speed Test 13 -

This benchmark tests whether the speed or JSON.stringify changes with object size

JSON Stringify Speed Test 13

This benchmark tests whether the speed or JSON.stringify changes with object size

push, concat, spread on a simple array

No description provided

Array.includes vs Set.has vas Map.has 2

No description provided

JS Regex vs .startsWith vs .indexOf vs includes 2

fork of https://www.measurethat.net/Benchmarks/Show/975/11/regex-vs-indexof-vs-startswith-vs-substr

JS Regex vs .startsWith vs .indexOf vs includes

fork of https://www.measurethat.net/Benchmarks/Show/975/11/regex-vs-indexof-vs-startswith-vs-substr

getRelativeUrl

No description provided

Spread Operator VS Array.prototype.slice() VS Array.prototype.slice(0)

Spread Operator VS Array.prototype.slice() VS Array.prototype.slice(0)

new Url vs RegEx (1)

No description provided

Spread Operator VS Array.slice()

performance test!

innerHTML vs insertAdjacentHTML vs appendChild vs insertAdjacentElement22

innerHTML vs insertAdjacentHTML vs appendChild vs insertAdjacentElement

conditional object creation vs let

No description provided

Intl.NumberFormat vs toLocalString rev.3

No description provided

Intl.NumberFormat vs toLocalString rev.2

No description provided

Array find vs findIndex

No description provided

Array splice VS Array unshift

No description provided

Lodash cloneDeep vs structuredClone vs recursiveDeepCopy vs JSON clone with a simple and a more deep test

No description provided

NEW BENCHMARK Your Benchmarks