Latest Benchmarks

Browse the latest JavaScript performance benchmarks created by the community.

new Set vs set.clear()

No description provided

arguments vs spread operator

No description provided

lodash uniq vs Array.from(new Set()) vs spread new Set() v3 strings

No description provided

Object cloning with Lodash clone vs cloneDeep vs merge vs structuredClone vs JSON.parse(JSON.stringify(o)) 2

No description provided

Delete vs destructure for objects vs new object

Measure the performance of delete versus removing a prop from an object

overwrite new Map() vs findIndex

No description provided

Javascript closest method benchmarks

No description provided

Array spread operator vs push, large list

No description provided

Moment Dayjs format YYYY-MM-DD HH:mm:ss.SSSZ benchmark

Moment Dayjs format benchmark

RegEx.test vs. String.includes vs. String.match vs. IndexOf

No description provided

JSON.stringify vs structuredClone vs fastest-json-copy vs fastcopy

big json model

JSON.stringify vs structuredClone - big json model

JSON.stringify vs structuredClone

Fetch, Axios, Mande, XHR

No description provided

Array.prototype.concat vs spread operator on large array

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

ForEach vs PseudoForEach vs for

No description provided

classList.add vs setAttribute

Which is faster? Adding a class to an element of setting an attribute on it?

JSON.parse vs structuredClone

No description provided

Lodash _,keys() vs Lodash _.keysIn()

No description provided

lodash isplainobject vs typeof object

No description provided

querySelectorAll vs getElementsByTagName + (fixed/dynamic) length + for

No description provided

cached getComputedStyle vs. getBoundingClientRect

No description provided

toUpperCase vs toLowerCase

No description provided

lodash groupBy vs Array.reduce vs Object.groupBy 100k

No description provided

Array.prototype.concat vs spread operator 2023

No description provided

Should you cache Intl.DateTimeFormat?

Testing creating a new Intl.DateTimeFormat each time vs. caching it using JSON-stringified options object as the key.

NEW BENCHMARK Your Benchmarks