Latest Benchmarks

Browse the latest JavaScript performance benchmarks created by the community.

avith find first last of week

No description provided

To dict: 2 iterations vs new array and unique on each iteration inside [2]

No description provided

To dict: 2 iterations vs new array and unique on each iteration inside

No description provided

Avith test date format from string

No description provided

test date compare

No description provided

While loop vs closest one of many on type/id/class

No description provided

Array.from() vs new A

Testing the difference between creating filled arrays.

set vs array iteration 100kf

No description provided

set vs array iteration 100k

No description provided

number vs typeof

No description provided

Copy vs JSON

No description provided

Mutate array vs memory efficient map

In memory constrained devices the use of .map() is not always possible. In such places, this should determine whether a mutation is better than creating a new array from scratch while emptying the original array, thus, keeping somewhat the same memory usage.

Classnames vs CLSX vs Alternatives (Nov 27, 2023)

Compare CLSX vs Classnames vs an own implementation of creating a template string

Array.map vs preallocation ......

No description provided

string with + vs template literals vs String.concat 4 input

No description provided

Object arrays: findIndex vs for loop vs some

Testing finding an object array via findIndex or by using a for loop or by using some

benchmarkname-112312349

No description provided

benchmarkname-11231234

No description provided

my own array: indexOf vs includes vs some

performance comparison of ways to find if an array contains a value

luxon vs datefns vs moment vs Date

No description provided

set prop on object vs array.push: no extra obj creation

No description provided

Read Map vs Object

No description provided

new WeakRef

No description provided

new array vs array.length = 0

No description provided

new Set vs set.clear()

No description provided