Latest Benchmarks

Browse the latest JavaScript performance benchmarks created by the community.

getComputedStyle vs

No description provided

Is ternary operator, if-else or logical OR faster

No description provided

computedStyleMap vs getComputedStyle

No description provided

Lodash cloneDeep vs native cloneDeep vs native structuredClone

compare array copy/clone methods

lodash latest clonedeep vs json.parse(stringify()) vs recursivecopy

No description provided

jQuery.extend vs JSON.stringify(JSON.parse())c -sdfsdfsfd

No description provided

Math.max(...) vs Uint32Array.reduce()

Compare speed of Math.max() vs Array.reduce().

Destructuring assignment vs Set iterator - V2

No description provided

number vs bignumber.js vs big.js vs decimal.js

- https://developer.mozilla.org/ru/docs/Web/JavaScript/Reference/Global_Objects/Number - 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

number / bignumber.js / big.js / decimal.js

- https://developer.mozilla.org/ru/docs/Web/JavaScript/Reference/Global_Objects/Number - 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

Destructuring assignment vs Set iterator

No description provided

innerHTML vs insertAdjacentHTML vs appendChild vs insertAdjacentElement 2

innerHTML vs insertAdjacentHTML vs appendChild vs insertAdjacentElement 2

javascript loops small

No description provided

test matches vs querySelectorAll

No description provided

Immer vs Clone Deep

No description provided

BranchVsReturnTrue

Benchmark of the speed difference between using multiple IF statements and an open-ended IF/ELSE IF.

innerHTML vs replaceChildren + insertAdjacentHTML

No description provided

asdasdrrrrrr

No description provided

Array.find vs. Map.get (ADELINOLSN)

Test the performance of Array.find vs. Map.get, with various array sizes, and with/without conversion from array to map

js array copy speed comparison with spread operator

No description provided

slice VS splice to remove first element

100k list splice and shift win, they mutate list slice loose, it creates a copy of list 7.5x slower

slice VS splice VS shift: who is the fastest to keep constant size [VARIANT]

100k list splice and shift win, they mutate list slice loose, it creates a copy of list 7.5x slower

JS ForEach Tests

No description provided

Bitwise NOT VS Number

No description provided

toFixed vs toPrecision vs Math.round() with num > 0

No description provided