Latest Benchmarks

Browse the latest JavaScript performance benchmarks created by the community.

deep copy test123

No description provided

lowerCase vs includes

No description provided

Deep cloning comparison - Native vs. JSON vs. Lodash

No description provided

some vs. findIndex vs find

No description provided

lodash clonedeep vs json.parse(stringify()) vs recursivecopy (Medium Sized Object)

No description provided

canvas2d.drawImage(imageElement) vs createImageBitmap(imageElement) (v321)

No description provided

IndexOf vs Includes in array by miette

Banana

jQuery vs getElementById vs querySelector 1234567890-

Comparing speed of getting element by id with jQuery vs Vanilla JS with getElementById and querySelector

2nd localStorage and sessionStorage Speedtest

runs each test 210x

localStorage and sessionStorage Speedtest2

No description provided

Last item in array Slice vs Length - 1 vs At -1

No description provided

Map copy vs irect copy

No description provided

Caching with loop conditions

Comparing performance of with and without caching array length.

Caching for loop conditions

Comparing performance of with and without caching array length.

Lodash vs. direct comparison

No description provided

slice VS splice - 222222

100k list splice and shift win, they mutate list slice loose, it creates a copy of list 7.5x slower

querySelector vs getElementsByClassName with get

No description provided

lodas pick vs plain function

No description provided

reselect createSelector vs plain selector vs custom createSelector

Which should you use to manage selectors with dependencies

Omit lodash vs plain function

No description provided

flatmap vs concat and spread operator

No description provided

image from blob vs native image src with decode 2

image from blob vs native image src with decode 2

array.find() vs. array.some() - big array version

Test both methods when using them to check the existance of an element in an array. Both tests return truthy.

array.find() vs. array.some()

Test both methods when using them to check the existance of an element in an array.

JSON.parse + JSON.stringify vs structuredClone (cyclical graph)

No description provided