Latest Benchmarks

Browse the latest JavaScript performance benchmarks created by the community.

for-in vs object.keys improved

No description provided

array perf push vs concat

No description provided

array perf filter vs concat

No description provided

array perf

No description provided

Iterative vs Reduce vs reduce with Object.assign vs Object.fromEntries vs Object.assign

No description provided

Reduce vs reduce with Object.assign vs Object.fromEntries vs Object.assign

No description provided

Array.find vs. Map.get on large datasets

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

TextDecoder compared to String.fromCharCode

No description provided

Persisting Set object vs recreating Set objects while maintaining a deduplicated ordered array

No description provided

Traverse function vs NodeIterator vs TreeWalker (limited)

Let's compare the speed of 3 different ways to traverse the DOM.

Array reverse-and-pop vs shift, at a range of sizes

Benchmarks the performance of two approaches for emptying an array from the front by sequentially removing each element. The methods are: A - first reversing the array with Array.reverse(), then using Array.pop() to remove each entry B - using Array.shift() to remove each entry

Test join vs concat string

No description provided

Clean props array vs object

No description provided

for in loop vs. .map

No description provided

filter-map vs reduce with spread

modified version of `map-filter vs reduce` that switches the order of operations

set has vs regex

No description provided

Check for equal value at given index

Testing the difference between native loops and find()

JSON.parse vs String.match for fetching one value

No description provided

JSON.parse vs String.substring vs String.match for fetching one value

is it faster to get one value by JSON.parse() or directly via String.substring

es-toolkit isEqual vs JSON stringify vs lodash isEqual

No description provided

Copy ArrayBuffer: DataView vs per bytes

No description provided

Object.keys vs Object.entries with filtering properties

Comparing performance of Object.keys vs Object.entries

Compare Object.keys and Object.entries with array v2

No description provided

Compare Object.keys and Object.entries with array

No description provided

Compare Object.keys and Object.entries

No description provided