Latest Benchmarks

Browse the latest JavaScript performance benchmarks created by the community.

slice vs filter2

No description provided

RegEx.test vs. String.includes vs. String.match 200

No description provided

toString() number vs string

No description provided

lodash groupBy vs Array.reduce vs Object.groupBy 100k

No description provided

TextDecoder vs String.fromCharCode Big

No description provided

Array concat large-ish data sets

No description provided

findIndex in map vs. lookup + map

No description provided

finIndex in map vs. lookup + map

No description provided

Reduce Object vs Map

No description provided

Array.prototype.concat vs spread operator 2023

No description provided

dsdadsastructuredClone test

compare array copy/clone methods sdfewfe

inline vs function call vs function call x2 vs variable function

No description provided

inline vs function call vs function call x2 vs function call x3

No description provided

ObjectDefineProperty

No description provided

RegEx.test vs. String.includes vs. String.match vs String.indexOf 65444

No description provided

Test JS getter/setter

No description provided

replaceChildren vs documentFragment [2]

No description provided

Spread vs JSON.parse(JSON.stringify()) 2

Benchmarks spread vs JSON.parse(JSON.stringify())

slice vs substring (removing rightmost char)

Compares slice and substring to each other when removing the rightmost character

Should you cache Intl.DateTimeFormat?

Testing creating a new Intl.DateTimeFormat each time vs. caching it using JSON-stringified options object as the key.

Object.values vs cached array

Compare fetching values by calling Object.values on the fly vs a cached array

Trig functions plusplus

Which of the built-in trig functions are fastest? slowest?

React useCallback with complex function, setState, hook vs. function vs. external

No description provided

React useCallback setState hook vs. function vs. external

No description provided

React useCallback hook vs. function vs. external

No description provided