Latest Benchmarks

Browse the latest JavaScript performance benchmarks created by the community.

Clamp: min/max vs ternary

No description provided

Checking if number is integer

Compares using num % 1 to number.isInteger

RXJS - simple if vs filter

No description provided

Traverse Elements in DOM tree 3

What's the fastest way to find all elements of a certain criteria within a DOM tree?

Traverse Elements in DOM tree 2

What's the fastest way to find all elements of a certain criteria within a DOM tree?

Traverse Elements in DOM tree

What's the fastest way to find all elements of a certain criteria within a DOM tree?

Array.prototype.slice vs spread operator long 2

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

rest parameters vs arguments2

No description provided

rest parameters vs arguments1

No description provided

Lodash isEqual test with big objects2

Test on isEqual performance

Object Assign vas Spread vs Map

No description provided

Access to Proxy without Reflect, vs Object

No description provided

Intl.NumberFormat vs toLocalString vs cached Intl.NumberFormat

No description provided

round vs trunc vs floor vs toFixed vs parseFloat vs parseInt

No description provided

findIndex vs forEach

compare performance of findIndex and forEach in removing the first result in an array

Math.random vs Crypto.getRandomValues for 10k values

No description provided

Property access: Lodash.get VS ternary dot notation VS optional chaining

No description provided

Regex vs substring loop performance

No description provided

Sorting for loop vs array.sort

No description provided

spred test 2

jkjkjk

spred test

jkjkjk

Move item in first place unshift vs spread

Move item in first place unshift vs spread

Move item in first place spread vs unshift

Move item in first place spread vs unshift

instanceof vs typeof 22

No description provided

Object Comparaison in JS

Object entries converted to string vs json's stringify