Latest Benchmarks

Browse the latest JavaScript performance benchmarks created by the community.

Access to Object vs Signal 2.2

No description provided

Access to Object vs Signal 2.1

No description provided

Lodash _.union vs native Set() (accurate)

No description provided

hex "#"

hex get rid '#"

hex substring vs slice

geting rid if '#'

Array remove

No description provided

jQuery3 .html() vs Element.innerHTML

No description provided

Map creation in JS

No description provided

querySelector vs JQuery

Compares the performance of querySelector against JQuery for selecting elements. For class selector, getElementsByClassName is the best. For element selector, getElementsByTagName is the best.

Lodash vs Just

No description provided

Performance of new Error().stack

No description provided

Comparing date allocation

Checking how expensive creating a date is compared to deferring it to be done in a lazy fashion later on.

Regex construction vs execution

Compare literal and string construction of Regex with exec() leverage a pattern with and without captures.

Remove by findIndex+splice vs copyWithin vs filter

Deletion of an element from an array.

Batching

Batching strategy with yield benchmark

jQ vs vanilla

No description provided

frozen and normal object

No description provided

Array.length in loop VS Array.length out of loop

No description provided

Find the fastest median

Fastest array median

Proxy object

Object vs Proxy

Array splice is slow

No description provided

Object.create vs constructor

No description provided

slice vs split vs substring (with start and end)

Compares slice, substr and substring to each other when there is only a start index

benchmark pow

No description provided

bignumber.js vs. big.js vs. decimal.js in 2024-05-03

- https://github.com/MikeMcl/bignumber.js/tree/v9.0.0 - https://github.com/MikeMcl/big.js/tree/v5.2.2 - https://github.com/MikeMcl/decimal.js/tree/v10.2.0