Latest Benchmarks

Browse the latest JavaScript performance benchmarks created by the community.

Split vs Regex, two terms, space separated, permissive regex

No description provided

Lodash.get vs Property dot notation @movlan

No description provided

filter + forEach vs forEach + guard

No description provided

Optimized getMarkedDates Function

No description provided

es5 bind vs es6 arrow

No description provided

luxon vs datefns vs moment vs dayjs (calculations) new

No description provided

Benchmark: flatMap vs reduce vs while vs foreach (40k)

No description provided

ValidateUtcTimestamp (version2)

Different methods to detect, if a timestamp is valid.

Lodash isNumber vs native Number.isInteger

No description provided

get current time test

No description provided

var vs let vs const loopy

No description provided

const vs let vs var - proper

No description provided

for vs foreach vs some vs every vs for..of vs map with mutation fixing bug with every

Compare loop performance

JavaScript spread operator vs Object.assign performance (Carl)

No description provided

innerHTML vs innerText vs compare innerHTML vs compare innerText

blah blah

innerHTML vs innerText vs custom

blah blah

compare slice vs structuredClone

No description provided

deconst loop test2

var theArr = Array.from({ length: 100000 }, (_, el) => ({el:el,el2:el,el3:el}))

Testing if filter is faster than splice

No description provided

deconst loop test

var theArr = Array.from({ length: 1000000 }, (_, el) => ({el:el}))

deconst loop

No description provided

replaceChild vs replaceChildren vs documentFragment 3

No description provided

replaceChild vs replaceChildren vs documentFragment 2

No description provided

for...in vs for...of vs for-loop

Testing the difference between native loops and find()

undefined vs. typeof vs. in vs. hasOwnProperty exists

Object lookup performance