Latest Benchmarks

Browse the latest JavaScript performance benchmarks created by the community.

Reduce Object.assign vs spread vs Map vs Function assignment

No description provided

Reduce Object.assign vs spread vs Map

No description provided

Reduce Object.assign vs spread

No description provided

Object array using lodash find vs lodash some

No description provided

(Math.floor(Math.random() * Math.pow(10,13))) vs Date.now

Which is best for generating a unique 13 digits key?

padStart vs slice

Measures speed between using padStart and slice

Push vs LHS spread

Is it fast to build up an array using the spread operator on the left-hand side?

for loop vs for of

comparing perf between for of and for loop

comparison

No description provided

KevinTest

No description provided

Array processing benchmark

Quick benchmark

Test array reduce

Quick benchmark

querySelectorAll2 vs getElementsByClassName

No description provided

2 6Array.prototype.concat vs spread operator 2

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

JSON parse vs structuredClone

Test json

eval vs new Function (Sample JS Functions)2

No description provided

split vs regex replace - test

No description provided

split vs regex replace

No description provided

Setting the same value with setAttribute()

Is checking the current value of an attribute with getAttribute() better than setting the same value with setAttribute() over and over.

for-in vs object.keys 22

No description provided

bignumber.js vs. big.js vs. decimal.js performance instance4

- 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

bignumber.js vs. big.js vs. decimal.js performance instance3

- 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

bignumber.js vs. big.js vs. decimal.js performance instance

- 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

JSON stringify long array with ids

No description provided

JSON stringify long array

No description provided