Latest Benchmarks

Browse the latest JavaScript performance benchmarks created by the community.

Slice vs. Splice

No description provided

concat vs lodash.concat vs spread operator

No description provided

Lodash orderBy vs array.prototype.sort string

No description provided

forEach vs findIndex

No description provided

If else vs switch case

No description provided

Add alpha color v3

No description provided

Add alpha color

No description provided

Fastest way to check if an Object is empty

No description provided

Canvas roundrect perf

No description provided

asdsadadasdad55

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

asdsadadasdad

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

insertAdjacentElement vs prepend

No description provided

Native filter().length vs lodash sumBy vs lodash filter().size(), for large array

As of 3/22/2022, the differences in the performance of the last three test cases have very different performances in Firefox and very similar performances in Chrome. For small arrays, see https://www.measurethat.net/Benchmarks/Show/17858/7/native-filterlength-vs-lodash-sumby-vs-lodash-filtersiz .

Native filter().length vs lodash sumBy vs lodash filter().size(), for small array

For large arrays, see https://www.measurethat.net/Benchmarks/Show/17859/1/native-filterlength-vs-lodash-sumby-vs-lodash-filtersiz

typeof vs instanceof vs constructor vs toString

No description provided

xCare Forms Selector

testing .find vs context vs name selector vs context object

Math.max() vs Array.reduce() xxxyyy

Compare speed of Math.max() vs Array.reduce().

Math.max() vs Array.reduce() xxx

Compare speed of Math.max() vs Array.reduce().

qsqsqs

No description provided

localCompare vs ===

Comparing performance of localCompare vs '==='

Test jQuery vs Javascript

No description provided

lodash merge vs object.assign vs spread cam

No description provided

Object lookup vs switch

No description provided

pop vs length-123454763

asd asd asd asd asd gh

Js Search - String StartsWith vs Includes

No description provided