Latest Benchmarks

Browse the latest JavaScript performance benchmarks created by the community.

Short undef check

No description provided

Lazy set

No description provided

Lodash CloneDeep vs Immer Produce with heavy load

No description provided

remove style

faster to just remove style with removeAttribute('style') or check if first has style then remove

toFixed vs toPrecision vs Math.round() with constant multiplier

Let's see which is faster and slower! toFixed(6) vs toPrecision(6) vs Math.round(number*1000000) / 1000000

sort vs sorted insert

No description provided

a32131

123123

Collator vs LocaleCompare test with sort

No description provided

toFixed vs toPrecision vs Math.round() feat. Math.pow

Let's see which is faster and slower! toFixed(6) vs toPrecision(6) vs Math.round(number*Math.pow(10,6) / Math.pow(10,6))

JavaScript assignment vs Object.assign performance vs Spread performance

No description provided

concat tester2

based on https://measurethat.net/Benchmarks/Show/2649/1/map-native-vs-ramda-vs-lodash-vs-immutable

IIFE vs IF

No description provided

Regex vs split-join string performance 2

No description provided

Sort Collection with missing properties lodash.sortBy vs array.sort

Sort Collection with missing properties lodash.sortBy vs array.sort

concat test

No description provided

parseInt vs Number string to number

No description provided

object assign vs mutation

No description provided

Split vs Regex 2

No description provided

Try/catch performance 2

No description provided

object.entries vs object.keys vs for in

No description provided

Filter vs Set (unique)

Compare 3 ways to remove duplicates

spanify test

testing two different methods of spanifying some text

Filter vs Set (unique elements)

No description provided

Filter vs Set (get unique elements)

No description provided

innerHTML vs replaceChildren

No description provided