Latest Benchmarks

Browse the latest JavaScript performance benchmarks created by the community.

image from ImageDecoder vs native image src

No description provided

TEstzgzrg

No description provided

Test intArrya

No description provided

slice parts

No description provided

Deep cloning of array

Deep cloning of array in js

js array spread op with map vs array.from

No description provided

getAttribute + setAttribute vs dataset vs Map (for loop 1K)

Compare getAttribute & setAttribute with dataset

getAttribute + setAttribute vs dataset (for loop 1K)

Compare getAttribute & setAttribute with dataset

Callback vs Class method

No description provided

Benchmark different converter functions

No description provided

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