Latest Benchmarks

Browse the latest JavaScript performance benchmarks created by the community.

Lodash clone deep object array vs string array

Compares performance of deep cloning an array of objects vs an array of strings with Lodash cloneDeep.

Javascript classList.contains vs element.matches vs classList.some vs className

No description provided

for w/length constant vs foreach vs some vs for..of

Compare loop performance

outerHTML vs getComputedStyle 2

No description provided

lodash uniq vs Array.from(new Set()) vs spread new Set() long arrays

No description provided

styleProperty

No description provided

Set vs Object with each loop

No description provided

setProperty

No description provided

Object.fromEntries(array.map) vs. array.map.reduce

No description provided

Array.includes vs Set.has vs Map.has vs Object in

No description provided

lodash groupBy vs Array.reduce with map

No description provided

Pre-created regexp vs created every time

No description provided

bignumber.js vs. big.js vs. decimal.js (I) vs currencyjs

- 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

set.has vs. array.includes (find 999,999 in 1,000,000)

No description provided

remark vs markdown-it vs micromark parser

No description provided

xxxxxxxxxxxxx

y

wdwdagserg

wdwd

startsWith vs slice vs substring

No description provided

Access to Proxy vs Object (version: 4)

Comparing performance of: Object access vs Proxy access vs Proxy with get handler access

Clamp Integers by various methods

Different methods to clamp an integer value to a range. First four are ternary, min/max, IF, and unary. Then those four when abstracted into functions.

Access Object Property vs Global Let vs Private Let

No description provided

trim() vs replace()

No description provided

testsetas

No description provided

concast test

No description provided

teste 1a

teste1a