Benchmark name When Created
Array.prototype.concat vs spread operator 2023 6 months ago
dsdadsastructuredClone test

compare array copy/clone methods sdfewfe

6 months ago
inline vs function call vs function call x2 vs variable function 6 months ago
inline vs function call vs function call x2 vs function call x3 6 months ago
ObjectDefineProperty 6 months ago
RegEx.test vs. String.includes vs. String.match vs String.indexOf 65444 6 months ago
Test JS getter/setter 6 months ago
replaceChildren vs documentFragment [2] 6 months ago
Spread vs JSON.parse(JSON.stringify()) 2

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

6 months ago
slice vs substring (removing rightmost char)

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

6 months ago
Should you cache Intl.DateTimeFormat?

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

6 months ago
Object.values vs cached array

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

6 months ago
Trig functions plusplus

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

6 months ago
React useCallback with complex function, setState, hook vs. function vs. external 6 months ago
React useCallback setState hook vs. function vs. external 6 months ago
React useCallback hook vs. function vs. external 6 months ago
DataAttribute vs Class Selector vs ID Selector vs getElementById vs getElementsByClassName with other elements 6 months ago
DataAttribute vs Class Selector vs ID Selector vs getElementById vs getElementsByClassName 6 months ago
set.has vs. array.includes vs in operator (with strings) 6 months ago
set.has vs. array.includes vs in operator 6 months ago
Remove array items: FindIndex + Splice vs Filter

Compare array item removal methods.

6 months ago
shift vs index 6 months ago
padStart vs slice 4

Measures speed between using padStart and slice

6 months ago
mybenchmark1233131311231 6 months ago
mybenchmark1233131311 6 months ago

 New benchmark Your benchmarks