Latest Benchmarks

Browse the latest JavaScript performance benchmarks created by the community.

jAg's comparison of unzipping, possibly modifying, and rezipping objects with 10,000 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

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).

lodash vs deepmerge vs deepmerge-ts vs ts-deepmerge

No description provided

josh's Object.fromEntries vs reduce vs map

No description provided

Replace char in long string

No description provided

i hate l00ps

No description provided

test json vs omit

No description provided

Trim last char2

No description provided

Object.assign vs Object.fromEntries 2

No description provided

Object.assign vs Object.fromEntries

No description provided

Filter vs indexOf + spread+ splice

No description provided

Array filter vs. for loop - with for in (10k)

No description provided

lodash sortBy concat

No description provided

Get index with indexOf or with map

No description provided

String comparison vs boolean check

No description provided

String compare with localCompare

string vs localCompare

New vs clear

No description provided

lodash/partitionBy vs native reduce

No description provided

Array.from() VS Spread

No description provided

large string comparison1

Worst case large string comparison.

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