Latest Benchmarks

Browse the latest JavaScript performance benchmarks created by the community.

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

What's faster unshifting left by 1 or multiplying by 2

Benchmark description

Delete vs destructure for objects without mutating s

Measure the performance of delete versus removing a prop from an object without mutating

appendChild vs replaceWith, DocumentFragment vs not DocumentFragment 10 elements

appendChild vs replaceWith, DocumentFragment vs not DocumentFragment

appendChild vs replaceWith, DocumentFragment vs not DocumentFragment

appendChild vs replaceWith, DocumentFragment vs not DocumentFragment

array includes vs object key vs set

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