Latest Benchmarks

Browse the latest JavaScript performance benchmarks created by the community.

test vs match vs startsWith vs [0]

No description provided

Chunk slice vs. Lodash chunk

No description provided

toggle classname string vs array vs classList

No description provided

includes with regex vs startWith

No description provided

boolean to string2

No description provided

boolean to string

No description provided

Create a map once then query it, or query each value.

when receiving a large result, should you query said result and reused the cache value, or should you search the value each time.

string to boolean

No description provided

JS find vs indexOf then query

JS find vs indexOf then query

JS if + array binary vs object + if

JS indexOf + array vs object + if

JS indexOf + array vs object + if

JS indexOf + array vs object + if

Search in array of objects using Find, FindIndex, flatMap with includes

No description provided

Sum vs Reduce vs forOf

No description provided

loops comparision

No description provided

reduce_foreach

No description provided

convert date to millis

millis timestamp in Date object

lodash clonedeep vs json.parse(stringify()) vs structuredClone

No description provided

crypto-subtle-300KB

No description provided

Search: Array to Map and find vs Array.find 2

No description provided

inline func

No description provided

forEach vs for-of vs reduce vs map vs filter vs for

No description provided

new Intl.DateTimeFormat vs cached Intl.DateTimeFormat vs date method

measure the perf impact of caching calls to new Intl.DateTimeFormat

find vs findIndex with accesing the elemnt through index

Measuring which is faster test

deep comparsions

No description provided

20240726 - flatMap vs filter/map

No description provided