Latest Benchmarks

Browse the latest JavaScript performance benchmarks created by the community.

trycatch-benchmark-sum

No description provided

Init array with fill map, vs for i loop

People tend to use array fil and then foreach, we know foreach is faster than a for loop, but is it also faster if you use array fill first?

normalize / trim text

No description provided

array vs frozen array loop

No description provided

structuredClone vs Immer Produce simple

No description provided

Delete vs destructure for object 2

No description provided

DataAttribute vs Class Selector vs ID Selector vs Class & Data Attribute Selector

No description provided

Search RegExp vs includes vs match

No description provided

for vs foreach vs some vs for..of with modern var declarations

Compare loop performance

ForOf vs Map

No description provided

Lodash isEqual test v4.17.21

No description provided

math vs to fixed

No description provided

eval vs Json.parse

No description provided

Object.fromEntries vs reduce fork

No description provided

MAGENTA PutImageData vs fillRect

GetImageData with PutImageData vs just DrawImage

Fetch cookie value

No description provided

Diffenent ways to get cookie

No description provided

Array find vs lodash find vs Array some

No description provided

cached Intl.NumberFormat vs new Intl.NumberFormat vs toLocaleString currency loop

No description provided

slice vs subarray -1

No description provided

slice vs subarray

No description provided

Measure date regex

No description provided

getComputedStyle vs style.getPropertyValue vs. getBoundingClientRect

No description provided

style.getPropertyValue vs. getBoundingClientRect

No description provided

reduce vs map,filter

No description provided

NEW BENCHMARK Your Benchmarks