Latest Benchmarks

Browse the latest JavaScript performance benchmarks created by the community.

test for of and flatMap

No description provided

for of vs flatmap vs reduce 2

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

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

console-19281589175831

No description provided

console-1928158917583

No description provided

spread111

No description provided

Filter vs toSpliced

No description provided

DataAttribute vs Class Selector vs ID Selector vs ~=

No description provided

Filter array using includes vs object lookup

No description provided

Dompurify vs js-xss | 28052024

No description provided

Dompurify vs js-xss | 84322342341

No description provided

match vs for loop

No description provided

includes vs regex testcases

string.includes vs regex.test methods

NEW BENCHMARK Your Benchmarks