Latest Benchmarks

Browse the latest JavaScript performance benchmarks created by the community.

cached Intl.NumberFormat vs new Intl.NumberFormat vs Number toLocaleString currency

No description provided

cached Intl.NumberFormat vs new Intl.NumberFormat vs toLocaleString currency

No description provided

Filter vs indexOf Speed a

Filter vs indexOf in array remove element Javascript

sort destruct vs sort

No description provided

while vs recurse vs continuation (2)

No description provided

while vs recurse vs continuation

No description provided

Direct call vs bind vs call vs apply (with precreated arg variables)

No description provided

Array find with indexOf vs includes

No description provided

Regex vs split string with periods

No description provided

Interpolation vs join

No description provided

Test array

No description provided

Deep merge lodash vs ramda vs deepmerge !

No description provided

Javascript index vs substring

No description provided

Are equivalent optimizations

No description provided

Compare sorted versus unsorted keys

No description provided

Set.forEach vs [...Set].find()

No description provided

for in vs Object.keys sort

No description provided

Unique Array [Set vs. Generator]

No description provided

slice VS splice VS shift: who is the fastest to keep constant size after adding multiple

100k list splice and shift win, they mutate list slice loose, it creates a copy of list 7.5x slower

equal comparison

equal comparison

lodash.head() vs [0] updated with optional chaining

Is head() needed only to check length !== 0 ? P.s. Empty testcase for [0] is useless because it won't crash on trying to get nonexistent element

slice vs capturing group

No description provided

Lodash remive vs native filter

compare filter methods on arrays that both modify objects and remove items from the array.

Storing array length before for

No description provided

lodash uniqWith vs filter

No description provided