Latest Benchmarks

Browse the latest JavaScript performance benchmarks created by the community.

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

Array push optimization test

No description provided

Single vs multiple regex replace calls for trimming

No description provided

for of vs for loops 1k

No description provided

for of vs for loops 10k

No description provided

Set.toArray vs Spread

No description provided

toArray vs Spread

No description provided

getAttribute(…) vs. getAttributeNode(…).value

No description provided

set vs array mod

No description provided

Check Variants2

No description provided

Check Variants 2

No description provided