Latest Benchmarks

Browse the latest JavaScript performance benchmarks created by the community.

lodash merge vs lodash/fp merge vs custom merge vs spread vs ramda merge

No description provided

lodash merge vs lodash/fp merge vs custom merge vs spread

No description provided

remove undefined from object. entries.filter vs for of vs for in

No description provided

empty string 3

Different ways of checking if string is empty

for loops 2024-05-30

Test different loops

Array.from() vs new Array() vs []

Testing the difference between creating filled arrays.

test for of and flatMap

No description provided

for of vs flatmap vs reduce 2

No description provided

for of vs flatmap vs reduce

No description provided

date formatter libraries vs native

No description provided

localCompare vs Intl.Collator

No description provided

in vs hasOwn

Object lookup performance Comparing performance of: in vs hasOwn

Binary search in sorted 100k int array

No description provided

loop options performance

No description provided

flatMap vs reduce vs loop performance (version: 1)

No description provided

flatMap vs reduce vs loop performance

No description provided

select elements latency with data

No description provided

select elements latency

No description provided

isNaN(input) vs Number.isNaN(Number(input))

benchmark for using: - implicit conversion of string to number -> isNaN(input) vs - strictness conversion of string to number and after it compare with NaN -> Number.isNaN(Number(input))

Remove by splice vs filter with a known index

Deletion of an element from an array with a known index.

Find VS FindIndex and select item

No description provided

JSON parse vs structuredClone | longer json

Test json

2 spread + 2 Maps + 1 Math.min() + 1 Math.max() vs 1 Array.reduce()

Compare speed of spreading and executing Math.min() and Math.max() for one array vs Array.reduce().

1 Math.min() + 1 Math.max() vs 1 Array.reduce()

Compare speed of executing Math.min() and Math.max() for one array vs Array.reduce().

Date Creation awertwerewrqw

No description provided