Latest Benchmarks

Browse the latest JavaScript performance benchmarks created by the community.

Object.entries VS Object.keys VS Object.keys with extra array VS Object.entries without array vs for in Object

No description provided

includes vs indexOf 81277412

No description provided

includes vs indexOf 512688282

No description provided

includes vs indexOf 581236625

No description provided

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

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

NEW BENCHMARK Your Benchmarks