Latest Benchmarks

Browse the latest JavaScript performance benchmarks created by the community.

every vs for loop

No description provided

padStart vs splice

Measures speed between using padStart and splice

createElement vs insertAdjacentHTML but actually works Foregon

No description provided

Concat vs spread testggdfg

No description provided

Lodash vs. Native (remove/filter)

No description provided

for vs for..of vs forEach

No description provided

className vs classList add and remove

No description provided

className vs. setAttribute vs. classList on body

No description provided

array filtering with some vs array filtering with includes22222

Return only objects with same id

array filtering with some vs array filtering with includes (1000 elements)

Return only objects with same id

array filtering with some vs array filtering with includes

Return only objects with same id

alternative this: constructor vs literal

No description provided

arr unshift vs push + reverse (large array)

No description provided

typeof undefined vs falsey check

which is faster

v2: .startsWith() vs .test() vs .match() vs .indexOf()

No description provided

.startsWith() vs .test() vs .match() vs .indexOf()

No description provided

lambdas-noinline-fun-creation3

No description provided

regex replace vs replaceAll vs replace in loop V1.1

replace all whitespaces from string. what is faster? replace() with regex with global flag or without global flag and using a loop?

lambdas-noinline-fun-creation2

No description provided

lambdas-noinline-fun-creation

No description provided

lambdas2.3

No description provided

lambdas-noinline

No description provided

lambdas2

No description provided

lambdas

No description provided

foreach vs some

No description provided