Latest Benchmarks

Browse the latest JavaScript performance benchmarks created by the community.

replaceAll vs non-regex replace

No description provided

Errors grbtgrh

No description provided

Array.reduce vs for of loop with set

A test summing 1000 random numbers, 1 - 10000

indexOf !== -1 vs > -1

No description provided

Object.fromEntries vs for of Object.keys

No description provided

React useCallback hook vs. custom hook (React 18)

No description provided

Map vs Object (Lookup then delete keys fix) Performance

Lookup of map vs object then delete keys w/o checking

Map vs Object (Lookup then delete keys) Performance

Lookup of map vs object then delete keys

set.has vs. array.includes vs plain object (100 000)

No description provided

set.has vs. array.includes vs plain object

No description provided

set.has vs. array.includes (length : 3)

No description provided

sanitize-htmlq@2.14.0 vs DOMpurify@3.2.4

No description provided

Conso duplicates solution 2

No description provided

Conso duplicates solution

No description provided

Lodash vs. Ramda vs. VanillaJS

Compares performance on the same task using Lodash vs two styles of Ramda vs two styles of "native" Javascript. In all cases the task is pulling "counter" property from each item in an array, filtering out odd items, squaring them, then returning those squared values that have less than two digits. Comparing performance of: Lodash funcional style (idiomatic) vs Lodash funcional style (performance optimized with spread) vs Ramda without relying on currying or composition vs Ramda with currying and composition vs Ramda with transducers vs VanillaJS funcional style (idiomatic) vs VanillaJS funcional style (performance optimized with spread) vs VanillaJS procedural.

Concat vs push(...) for large arrays 223123

Comparing the various ways to append to a large array

new paren

No description provided

starts with vs regex

No description provided

propert access

No description provided

json import vs fetchhbyu

No description provided

Performance of JavaScript .loops

No description provided

es-toolkit isEqual vs JSON stringify (2)

No description provided

javascript loops v2

No description provided

es-toolkit isEqual vs JSON stringify

No description provided

React 18 useCallback hook vs. function

No description provided