Latest Benchmarks

Browse the latest JavaScript performance benchmarks created by the community.

how fast is regex2?

No description provided

how fast is regex?

No description provided

RegExp constructor vs literal 2

Testing performance when using a new RegExp object vs a literal regex

array.some vs regex.test - new

No description provided

Nested Json stringify speed test

No description provided

div by 3 vs mul 0.333

No description provided

div by 2 vs shift 1 vs mul 0.5

No description provided

Multiple getAttribute vs dataset

Compare setAttribute to dataset in multiple getters

JS iterator vs array (big)

No description provided

Array#includes() vs. Set#has() vs. Object.hasOwn()

No description provided

JS iterator vs array

No description provided

destructing vs mutating for large objects

destructing vs mutating for large objects

Comparing response.text() and response.json() then JSON.stringify()

No description provided

querySelectorAll data attribute vs class name vs custom HTML tag

No description provided

Clamp01 with various implementations

No description provided

Clamp with various implementations

No description provided

JS: append vs appendChild multiple elements with spread syntax

Comparing performance of: for (c of children) append(c) vs append(...c) vs for (c of children) appendChild(c)

Set has vs object key - small object, no caching

performance comparison of looking up a value from a set

DataView vs TypedArray Float32 actually fixed

No description provided

Set has vs object key - small object

performance comparison of looking up a value from a set

URL Clone vs Copy Search Params

No description provided

Math.pow vs ** vs * test

No description provided

omit (reduce) vs omit (Object.fromEntries) 2

No description provided

omit (reduce) vs omit (Object.fromEntries)

No description provided

Array slice vs for loop (2)

No description provided