Latest Benchmarks

Browse the latest JavaScript performance benchmarks created by the community.

Object lookup perf undefined vs. typeof vs. in vs. hasOwnProperty

Object lookup performance

my vs fast-deep-equal vs lodash

No description provided

my vs fast-deep-equal

No description provided

getElementById vs querySelector vs window

No description provided

Trimming multiple leading/trailing characters, no set constructor overhead

No description provided

Trimming multiple leading/trailing characters

No description provided

slice VS splice VS shift VS length adjust: who is the fastest to keep constant size

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

Var vs Let v2

Just a simple test with var/let performance in for loop

indexOf >-1 vs includes

No description provided

Multiple match calls vs multiple selector fix

No description provided

Multiple match calls vs multiple selector

No description provided

innerhtml vs removechild 10k

No description provided

Array.prototype.slice + sort vs spread operator + sort

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

Array.prototype.slice + sort vs spread operator

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

cutArray

No description provided

Map vs Array vs Object set uint32 key speed2

No description provided

JavaScript spread operator vs Object.assign performance replacing values

No description provided

JQuery version speed test 2021

No description provided

Filter with include vs filter without include 2

A comparison between a filter using include vs the same filter without include

Filter with include vs filter without include

A comparison between a filter using include vs the same filter without include

cloneNode perf

Faster way to create new dom elements before insertion

.includes() vs .test() vs .match() vs .indexOf()

Compare different intra-string matching styles

abcdefg

abcdefg

lodash uniq vs set + spread

No description provided

shift, unshift, concat

No description provided