Latest Benchmarks

Browse the latest JavaScript performance benchmarks created by the community.

class vs object vs function

No description provided

lodash uniq vs set with spread as

No description provided

Map vs Object forkkk

Lookup of map vs object

loop vs some 3214 1234 12342

No description provided

loop vs some 3214 1234 1234

No description provided

js search benchmark restricti

No description provided

escapeIdentifier

No description provided

Lodash Filter test

No description provided

loop speed

i < len versus none item

Dot property set notation VS Lodash.set(nested)

Compares different approaches to set an object property

URL.toString() vs String(URL)

Testing different ways to convert JavaScript's URL object to its string representation.

compare the ways to generate an array filled with empty objects for iteration 2

- Array.push - Array.apply: Array.apply(null, Array(100)) - Destructuring operator: [...Array(100)] - Array.prototype.fill Array(100).fill(undefined) - Array.from Array.from({ length: 100 })

compare the ways to generate an array filled with empty objects for iteration

- Array.push - Array.apply: Array.apply(null, Array(100)) - Destructuring operator: [...Array(100)] - Array.prototype.fill Array(100).fill(undefined) - Array.from Array.from({ length: 100 })

replace w/ RegExp vs replaceAll

No description provided

starts/endswith vs regex.test

No description provided

r includes vs regex

No description provided

replaceAll vs non-regex replace

No description provided

Errors grbtgrh

No description provided

Array.reduce vs for of loop with set

A test summing 1000 random numbers, 1 - 10000

indexOf !== -1 vs > -1

No description provided

Object.fromEntries vs for of Object.keys

No description provided

React useCallback hook vs. custom hook (React 18)

No description provided

Map vs Object (Lookup then delete keys fix) Performance

Lookup of map vs object then delete keys w/o checking

Map vs Object (Lookup then delete keys) Performance

Lookup of map vs object then delete keys

set.has vs. array.includes vs plain object (100 000)

No description provided