Latest Benchmarks

Browse the latest JavaScript performance benchmarks created by the community.

Array = Array.concat(Array) vs Array.push(...Array)

Compares array concatenation via the classic "concat" method and the "push" with a spread operator.

Attribute existence check within NamedNodeMap

Comparing perf of iterating through a NamedNodeMap in syncNodeFrom vs an Array created from said map. In this variant, we only create the array for the element being modified.

Single Array & NamedNodeMap

Comparing perf of iterating through a NamedNodeMap in syncNodeFrom vs an Array created from said map. In this variant, we only create the array for the element being modified.

Array vs NamedNodeMap

Comparing perf of iterating through a NamedNodeMap in syncNodeFrom vs an Array created from said map.

Array.find vs. Map.get by array

Test the performance of Array.find vs. Map.get, with various array sizes, and with/without conversion from array to map

Array.find vs. Map.get smaller

Test the performance of Array.find vs. Map.get, with various array sizes, and with/without conversion from array to map

Test array concat with larger array

No description provided

Test array concat

No description provided

clientWidth vs offsetWidth vs style.width

No description provided

Array.find vs. Map.get semua

Test the performance of Array.find vs. Map.get, with various array sizes, and with/without conversion from array to map

Using at() vs [offset + n] for multiple assignment

No description provided

Decimal.js vs Native

No description provided

Class method versus factory manager

No description provided

String reversal 3

No description provided

String reversal 2

No description provided

reverse string test

No description provided

String reversal

No description provided

Array+fill vs Array.from()

No description provided

spread call vs apply

No description provided

Copy object using reduce Object.entries vs Object.keys + extra check for loop

No description provided

for loop vs. .map with size

No description provided

cached Number.toLocaleString vs Intl.NumberFormat

No description provided

object emptyness big object

test object emptyness with a big object

getBoundingClientRect vs getAttribute

No description provided

Class versus factory

No description provided

NEW BENCHMARK Your Benchmarks