Latest Benchmarks

Browse the latest JavaScript performance benchmarks created by the community.

for vs foreach vs for..of (1)

Compare loop performance

Adam Lodash cloneDeep vs structuredClone

https://developer.mozilla.org/en-US/docs/Web/API/structuredClone

Luxon vs

No description provided

js-joda vs date-fns vs new Date() from ISO strings

No description provided

dayjs vs js-joda vs date-fns vs new Date() from ISO strings

No description provided

dayjs vs luxon vs js-joda vs date-fns vs new Date()

No description provided

lodash includes vs includes vs indexof bydget

No description provided

class method vs arrow method

No description provided

Array descruct via [], {} and direct by index

No description provided

className.replace vs classList.replace vs classList.remove/add

Based on the test (className vs. setAttribute vs. classList - measurethat.net/Benchmarks/Show/3108)

Lodash cloneDeep vs Custom Recursive cloneDeep

https://developer.mozilla.org/en-US/docs/Web/API/structuredClone

unique_array_reduce

No description provided

luxon vs dayjs vs date-fns vs temporal-polyfill vs moment (formatting)

Create and format dates from a timestamp

yanite for forEach reduce map filter vs for

No description provided

array slice vs while loop (to empty array)

No description provided

Flatmap vs reduce bydget 2.0

No description provided

generateRandomString

No description provided

Fragment vs ReactDOM vs jQuery3.7.1

No description provided

Lodash union vs new Set() union

No description provided

create class instances check method arrow vs bind vs no-bind

measure the performance of a class method defined with arrow function vs bind vs no-bind

class method arrow vs bind vs no-bind

measure the performance of a class method defined with arrow function vs bind

JS regexp

regex VS string.startsWith

vaillan-js vs jquery3.7.1

No description provided

for vs for ... of vs forEach vs map

Compare loop performance

Regex vs .indexOf & .lastIndexOf vs .startsWith & .endsWith

Testing some things