Latest Benchmarks

Browse the latest JavaScript performance benchmarks created by the community.

Clone wars: lodash vs klona vs structuredClone

Comparing performance of: Native structuredClone vs Klona vs Lodash

mduke-test2

No description provided

mduke-test

No description provided

flatMap() vs filter().map() vs for loop accumulator vs forEach vs for of loop

flatMap vs filter map

Spread vs Object.assign test grmlksdfjk

No description provided

Spread vs push(...) for large arrays

Comparing the various ways to append to a large array

lodash map vs native map on object

No description provided

JavaScript all number type benchmark v2

No description provided

JavaScript number type benchmark

No description provided

Sorting elements by their position in the DOM 2

No description provided

Bug with Resizing ImageBitmap causes slower than expected performance - April 2025 Image

There is currently a bug on Chrome Version 74.0.3729.131 (Official Build) (64-bit) (5/12/2019) with ImageBitmap where attempting to resize an ImageBitmap through ImageBitmapOptions will causes the resulting ImageBitmap to render very poorly when used with drawImage, even if the resulting ImageBitmap is resized to be smaller than the source image.

testJavaScript spread operator vs Object.assign performance to merge into new object

No description provided

Mutation Observer's many observe

No description provided

for(const item of array) vs. for(const [k, v] of Object.entries(object))

No description provided

.classList.toggle(…, false) vs. .classList.contains()+remove()

No description provided

Intl.NumberFormat vs string

No description provided

obj test

No description provided

[compareDocumentPosition vs querySelector] performance

No description provided

Sorting elements by their position in the DOM

No description provided

method vs arrow thing

No description provided

Filter out null and map nested object with flatMap() vs map().filter()

flatMap vs filter map

nextSibling vs data-tooltip-content vs data-tooltip-id

No description provided

Test content attribute vs html element

No description provided

Test id vs next sibbling

No description provided

very big Array vs TypedArray write performance

No description provided