Latest Benchmarks

Browse the latest JavaScript performance benchmarks created by the community.

Array.from VS spreading for

No description provided

length assignment during loop

No description provided

Array.from VS spreading for "new Set()"

No description provided

Try/catch vs .catch

No description provided

Swtich vs array includes for enum lookup

No description provided

loop vs stringify

No description provided

Access to Proxy vs Object test

No description provided

xdxdawsd

tesr

Classnames vs CLSX vs Alternatives 03.25.2024

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

element matches selector variations

Testing element query and matches against various nesting and selector patterns

Set has vs object key with random search value

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

element matches

check performance of various query selector strings

Fastest way to check if object is empty with 3 types of checks

You don't need to make add for loops in your test scenarios, the benchmark does it itself.

Inline array vs regex

No description provided

string concat bla

No description provided

className vs classList with existing classes

No description provided

Lodash _.first vs array[0] test 2

No description provided

Lodash.isEqual vs JSON.stringify Equality Comparison for Deep Array of Objects

Test on isEqual performance

RegEx vs Array.includes v2

No description provided

Delete vs rest nokk3r

No description provided

flatMap vs reduce (concat) vs reduce (spread) vs reduce (push)

No description provided

RegEx vs Array.includes

No description provided

JavaScript spread operator vs Object.assign performance vs merge mutation

No description provided

Dividing by 2 and flooring the result vs unshifting 1

No description provided

Dividing vs unshifting right

No description provided