Latest Benchmarks

Browse the latest JavaScript performance benchmarks created by the community.

Math.max() vs sort()

Compare speed of Math.max() vs sort.

forEach vs reduce vs map + filter vs for

No description provided

reduce vs reduceset2

No description provided

reduce vs reduceset

No description provided

reduce vs reduce set

No description provided

Array.from with mapper vs Array.fill

No description provided

Delete property from object delete/nullify/undefined/reflect.delete/deconstruction

Testing the performance of using `delete` keyword VS setting prop to null to remove an property of an object

Lodash DifferenceWith vs Native with sets

No description provided

Remove array element by index

No description provided

closest vs querySelector performance for very large dom

Goal: Get the target element inside the DOM Test case #1 - You don't have the target id - Find a target element through DOM via Element.closest() Test case #2 - You have the target id from your state - Find the target element via Document.querySelector()

closest vs querySelector performance for large dom

Goal: Get the target element inside the DOM Test case #1 - You don't have the target id - Find a target element through DOM via Element.closest() Test case #2 - You have the target id from your state - Find the target element via Document.querySelector()

Access to Proxy vs Object v2

No description provided

ES6 Class vs Prototype vs Object Literal vs Functional v2

No description provided

ES6 Class vs Prototype vs Object Literal vs Functional

No description provided

OnScrenn vs OffScreen canvas measureText performance

DomCanvas vs OffscreenCanvas

ES6 Class vs Prototype vs Object Literal v2 with Extends v3

Test the speed and memory usage using 3 different techniques for constructing class objects.

ES6 Class vs Prototype vs Object Literal v2 with Extends v2

Test the speed and memory usage using 3 different techniques for constructing class objects.

foooorr

No description provided

listener test1

No description provided

listener test

No description provided

bechn Spread operator VS Object.assign VS Object.create vs new Object for simple Objects

No description provided

Array.find vs. Map.get for 1000 - 1e6

Test the performance of Array.find vs. Map.get, with various array sizes, and with/without conversion from array to map

Array.find vs. Map.get for small intss

Test the performance of Array.find vs. Map.get, with various array sizes, and with/without conversion from array to map

Array.find vs. Map.get for small ints

Test the performance of Array.find vs. Map.get, with various array sizes, and with/without conversion from array to map

JavaScript spread operator vs Object.assign (to new obj) performance

No description provided