Latest Benchmarks

Browse the latest JavaScript performance benchmarks created by the community.

For of vs Object.values

No description provided

Split vs join

Many splits of a string vs many joins of an array

findIndex vs findIndex + filter

No description provided

concat.apply short form new array vs flat

Comparing Array.prototype.concat.apply short form with empty array vs flat

for vs foreach vs some vs every vs for..of vs map for check condition

Compare loop performance

Transform array to object

Various ways to convert array to objects

lodash join vs Object join

No description provided

lodash.each vs Object.forEach vs jQuery each vs layui each

No description provided

Comparing findIndex with map & indexOf

No description provided

under test

under

rgba vs rgb vs hex canvas

fork of "rgb vs rgba vs hex canvas"

Property assignment vs Variable assignment

The significance is function oriented vs object orient approach to building UI

Caching length property (internal and external) vs getting it each time in the loop, v2

save length of the array in the variable vs get it the loop

Caching length property (internal and external) vs getting it each time in the loop

save length of the array in the variable vs get it the loop

Uint8Array Array.from VS join split

No description provided

Spreading vs Contact in Reduce

No description provided

unshift vs push

No description provided

Lodash cloneDeep vs structuredClone 222222

https://developer.mozilla.org/en-US/docs/Web/API/structuredClone

String.split vs String.substring

No description provided

testasdfasdfasdf

sadfsadfasdf

Lodash difference vs Set & Filter Larger and Random

No description provided

Switch vs Object Literal (fixed prep code)

No description provided

JavaScript spread operator vs Object.assign performance 2222

No description provided

charCodeAt vs codePointAt short string

No description provided

empty an array in JavaScript - splice vs setting length 2

Based on question on http://stackoverflow.com/questions/1232040/how-do-i-empty-an-array-in-javascript