Latest Benchmarks

Browse the latest JavaScript performance benchmarks created by the community.

math.sin vs fast sin vs cached math.sin

No description provided

sin vs fast sin

No description provided

arrow vs inline function

No description provided

Object iteration for-in vs object.keys

No description provided

Function call vs bind vs bind and call vs function.call

No description provided

Function call vs bind vs call

No description provided

Lodash maxBy vs reduce

No description provided

lodash isEmpty vs native for empty strings

No description provided

Lodash uniq vs Set to unique array

No description provided

Object.keys Vs Object.entries Performance Test

No description provided

DeepClone vs JSON Stringify/Parse

No description provided

clone vs cloneDeep vs merge vs ES6 object spread vs ES6 Object.assign vs JSON.parse(JSON.Stringify())

No description provided

clsx string vs array vs object

Compare CLSX syntax

Math.floor Vs parseInt

No description provided

Math.max vs Array.reduce

Test whether Math.max or Array.reduce is faster for large number arrays

Math.min vs Array.sort[0]

Test whether Math.min or Array.sort[0] is faster for large number arrays

Reduce vs Join in Javascript

No description provided

slice substring

No description provided

for vs for callback

No description provided

Benchmark: flatMap vs reduce vs while vs foreach vs for of

No description provided

.getElementsByClassName() vs. .querySelectorAll()

Show the performance impact of a live node list (.getElementsByClassName()) vs. a static node list (.querySelectorAll()).

mustache vs handlebars rendering performance

nya nya nya

instanceof vs .prototype.isPrototypeOf vs Object.prototype.toString.call vs typeof vs isArray vs Symbol.iterator

Symbol.iterator also matches TypedArray, Map, and such

Ramda (/w transducer) vs. Lodash

Compares performance on the same task using Lodash vs two styles of Ramda vs two styles of "native" Javascript. In all cases the task is pulling "counter" property from each item in an array, filtering out odd items, squaring them, then returning those squared values that have less than two digits.

Lodash filter vs splice removing item from array

No description provided

NEW BENCHMARK Your Benchmarks