Latest Benchmarks

Browse the latest JavaScript performance benchmarks created by the community.

Split vs Spread (randomized)

No description provided

Find min number

Conclusion: If your array length is small (less than 200) use Math, otherwise for large dataset "For loop" is faster.

dayjs vs luxon vs js-joda vs date-fns (calculating)

No description provided

dayjs vs luxon vs js-joda vs date-fns (manipulating)

No description provided

dayjs vs luxon vs js-joda vs date-fns (comparing)

No description provided

dayjs vs luxon vs js-joda vs date-fns (formatting)

No description provided

Access to Proxy vs Object vs eval

No description provided

window.getComputedStyle vs. getBoundingClientRect 1111

No description provided

str.match vs str.Split in regex

Test String.match with regex against String.split with string. We are splitting a string at the spaces.

parseInt value comparison

No description provided

remove first item of array

No description provided

chain of or equals vs includes but smaller

how much of a performance deficit you can expect from using Array.includes instead of manually writing a chain of logical ORs

aaaabbbnmmbhjhgsdfsdff

bbbbbsdfnjmym,s

aaaabbbnmmbhjhgsdf

bbbbb

aaaabbbnmmbhjhg

bbbbb

aaaabbb

bbbbb

string-interpolation2-vs-concatenation2

No description provided

RegEx.test vs Array.find.includes

No description provided

FastSqrt

No description provided

String start with 1st char

No description provided

concat() vs flat()

Compare concat() and flat() methods

Lodash.isEqual vs JSON.stringify Equality Comparison for Shallow Object

Test on isEqual performance

Math.min vs reduce

No description provided

object loop3

No description provided

object loop

No description provided