Latest Benchmarks

Browse the latest JavaScript performance benchmarks created by the community.

forEach vs reduce vs map vs filter vs for eac2!1!

No description provided

forEach vs reduce vs map vs filter vs for eac2!

No description provided

arr.find vs arr.some

Compare the new ES6 spread operator with the traditional concat() method

aisdbjkakdvjkahds kjahsdv

Test on deep equality performance

array[index] vs array.at(index)

No description provided

frozen VS unfrozen object iteration times

No description provided

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

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

new-date-vs-date-settime-fixed2

No description provided

new-date-vs-date-settime-fixed

No description provided

`filter().length` vs. `reduce` vs. `for` fork

Compare `filter().length` vs `reduce` vs `for` loop by counting element that satisfy condition. Forked from https://www.measurethat.net/Benchmarks/Show/22294/0/filterlength-vs-reduce-vs-for

i hate l00ps with optimaze for and with function

No description provided

i hate l00ps with optimaze for

No description provided

push spread vs concat jopa

No description provided

TESTSort2

No description provided

TESTSort

No description provided

flatMap vs filter.map vs reduce to Object samll data set

flatMap vs filter map

flatMap vs filter.map vs reduce to Object

flatMap vs filter map

math.min/max vs sort

No description provided

JSON.stringify vs structuredClone1

JSON.stringify vs structuredClone

Concat vs push(...) for large arrays with PrototypePushApply

Comparing the various ways to append to a large array

jAg's comparison of unzipping, possibly modifying, and rezipping objects with 31 fields

You've got an object with a bunch of fields. You want to iterate through each field and if it matches a certain set of values/state, you want to modify it, and then get the final updated object (ie not just the updated values, but all the unchanged values too. The only thing that doesn't matter is the original value).

jAg's comparison of unzipping, possibly modifying, and rezipping objects with 62 fields

You've got an object with a bunch of fields. You want to iterate through each field and if it matches a certain set of values/state, you want to modify it, and then get the final updated object (ie not just the updated values, but all the unchanged values too. The only thing that doesn't matter is the original value).

jAg's comparison of unzipping, possibly modifying, and rezipping objects with 125 fields

You've got an object with a bunch of fields. You want to iterate through each field and if it matches a certain set of values/state, you want to modify it, and then get the final updated object (ie not just the updated values, but all the unchanged values too. The only thing that doesn't matter is the original value).

jAg's comparison of unzipping, possibly modifying, and rezipping objects with 250 fields

You've got an object with a bunch of fields. You want to iterate through each field and if it matches a certain set of values/state, you want to modify it, and then get the final updated object (ie not just the updated values, but all the unchanged values too. The only thing that doesn't matter is the original value).

jAg's comparison of unzipping, possibly modifying, and rezipping objects with 500 fields

You've got an object with a bunch of fields. You want to iterate through each field and if it matches a certain set of values/state, you want to modify it, and then get the final updated object (ie not just the updated values, but all the unchanged values too. The only thing that doesn't matter is the original value).