Latest Benchmarks

Browse the latest JavaScript performance benchmarks created by the community.

JSON.stringify vs Deep Clone

No description provided

List vs Set

No description provided

bignumber.js vs. big.js vs. decimal.js only calculation without toString()

- https://github.com/MikeMcl/bignumber.js/tree/v9.0.0 - https://github.com/MikeMcl/big.js/tree/v5.2.2 - https://github.com/MikeMcl/decimal.js/tree/v10.2.0

Native JS: concatenate string with + vs template literals (2)

find best solution for concatenate 4 strings

Object.fromEntries vs reduce v21

No description provided

New Lodash sortBy vs orderBy fixed

Lodash sortBy vs orderBy

remainder or floor

Is integer division faster using reminder and subtraction or using Math.floor?

Int 32-bit test

No description provided

teste length vs pop JS2

No description provided

teste length vs pop JS

No description provided

joined map or concatenate 3

Is joining a map faster than concatenating to a string?

joined map or concatenate

Is joining a map faster than concatenating to a string?

string indexer or charAt

Is array access to a string faster than calling charAt?

RegEx.test vs. String.includes vs. String.match vs. String.indexOf dg

No description provided

set.has vs. array.includes vs array.find vs map.has

No description provided

template string vs +

sadasdsa

Nullish coalescing V.S. if/else (native)

No description provided

Nullish coalescing vs if-chains

No description provided

Testing string for one of multiple substring

No description provided

divide by 2 vs multiply by 0.5 - 1

No description provided

undefined vs. typeof vs. in vs. hasOwnProperty - v2

Object lookup performance

flatMap vs reduce vs reduce (list push)

No description provided

Array merge

No description provided

class vs name

No description provided

double destructuring vs lodash get

No description provided