Latest Benchmarks

Browse the latest JavaScript performance benchmarks created by the community.

set.add vs array.push more data

No description provided

JSON.stringify vs structuredClone big object

JSON.stringify vs structuredClone

Math floor vs bitwise operation

Math floor vs bitwise operation

Dompurify vs sanitize-html latest fixed

No description provided

RegEx.test vs. String.includes vs. String.match with multiple searches

No description provided

lodash range vs Array.from object + new Array vs keys() + spread

No description provided

Mapping arrayike

No description provided

Push vs Map - add prop to object

No description provided

Array splice vs. Set delete to arr

No description provided

Add item to array: push vs spread vs assign vs items.length vs items[len++]

No description provided

[JS] Substring vs Slice

No description provided

Add item to array: push vs spread vs assign vs items.length

No description provided

findIndex vs find - JS Perf

No description provided

looping thru set/map/array

No description provided

regex removing whitespace vs trim vs trimStart vs trimEnd

testing removing end whitespace vs trimEnd

Reading textContent vs innerText vs innerHTML

No description provided

Asd asdas dasd asd

asdasdasd sad

Array.prototype.concat vs spread operator [3]

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

Destructuration vs direct access in filter

No description provided

moment(string) vs moment(new Date(string)) vs new Date(string) vs dayjs(string) vs dayjs(new Date(string))

No description provided

Date.parse vs. new Date().getTime

No description provided

Javascript: Case insensitive string comparison performance2

No description provided

eval vs new Function vs function(Sample JS Functions) 2

No description provided

lodash xor performance with multiple arrays

Searching for faster solution for _.xor(a, b)

Map.has vs Set.has vs Array.includes 01.04.2025

No description provided