Latest Benchmarks

Browse the latest JavaScript performance benchmarks created by the community.

RegEx.test vs. String.includes vs. String.match WITH regex!

No description provided

Testing "prop in obj" vs "obj.prop === undefined" vs hasOwnProperty for undefined member

Which is the quicker for determining property presence?

withSomeCheck vs fullMapping

No description provided

moment vs date-fns 2025

It's not a deep validation; I'm just comparing ONE function that those two libraries have in common.

str split vs spread vs Array.from

No description provided

Bitwise flags checking

No description provided

structuredClone vs deepClone in large objects

This benchmark creates huge objects to be cloned by lodash's cloneDeep function vs the native structuredClone

structuredClone vs deepClone in larger objects

No description provided

asdfasdfiuasgubasb[iunab[vn

No description provided

new Image vs img

No description provided

Array length to string 1

No description provided

2d array construction

No description provided

Html Canvas Draw

No description provided

array construction comparison extended

No description provided

JS Regex vs .startsWith vs .indexOf 2

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

Compare clone object with cloneObject

Compare clone object

window.localStorage.setItem

No description provided

Overriding SVG transform attribute

Use SVGTransform API vs setAttribute()

Setting SVG transform attribute

Use SVGTransform API vs setAttribute()

Lodash isEqual test array of objects And Every 3 cases

Test on isEqual performance

Array.flat vs Array.flatMap

No description provided

_.isEqual vs For-loop

Benchmarking lodash.isEqual to native for loop

_.isEqual vs Array.prototype.join()

Benchmarking lodash.isEqual to native joins

Deepmerge

No description provided

Reduce vs Array.groupBy

Testing the new native method