Latest Benchmarks

Browse the latest JavaScript performance benchmarks created by the community.

return err vs throw err

No description provided

querySelectorAll data attribute vs class name v2

No description provided

i++ ++i i += 1

No description provided

typeof undefined vs falsey/truthy

which is faster

internal scope

No description provided

Custom Flatmap

Comparison between using JS' native flatMap, a custom flatMap, and lodash's flatMap. Custom flatMap works with all Iterable types, so need to convert Map's to arrays before flatMapping.

Set has vs object key vs Array includes (key is at the end)

performance comparison of ways to find if an array contains a value

regex replace performance : chaining replace vs table function replace

No description provided

Intl.NumberFormat cache vs new Intl.NumberFormat vs toLocaleString currency

No description provided

object-hash md5 vs JSON.stringify33

No description provided

distance calculations

No description provided

cloning methods

No description provided

is_eq private test

Test on isEqual performance

assignments vs object creation vs early return

No description provided

unaryPlus vs parseInt vs Number addition

No description provided

sdjfkpweiufjq

No description provided

Lodash uniqWith vs Set

No description provided

Test assign vs deconstruct

No description provided

test789

No description provided

JSON.stringify vs structuredClone fork

JSON.stringify vs structuredClone

test456

No description provided

test123

No description provided

qwe123

No description provided

isNaN vs Number.isNaN vs Object.is

No description provided

JSON.parse one vs many

No description provided