Benchmark name When Created
Spread Operator VS Direct assign 2 hours ago
includes vs some vs every 3 hours ago
CSS selector best performance

To measure how more specific selectors affect performance

5 hours ago
Object.assign vs. JSON String/Parse vs deepclone

Creating a "new" object reference every time

5 hours ago
Switch case vs Object Literal 8 hours ago
Lodash vs Native JS isEqual 11 hours ago
React const vs function 2024 fork 15 hours ago
React const vs function 2024 (swapped order) 16 hours ago
zetsin 16 hours ago
React const vs function 2024 16 hours ago
Array.from vs new Array using index value 17 hours ago
Object creation from property array, manual vs Object.fromEntries yesterday
Javascript Sorting Algorithms test1 yesterday
class getter/setter vs property yesterday
random-int-mathrandom-vs-lodashrandom yesterday
Compare strings, localeCompare vs Intl.Collator API vs strict equality

This test measures which is faster, compare a string using localeCompare method, the Intl.Collator API or a strict equality

2 days ago
Array.filter vs lodash.compact 2 days ago
compare the ways to generate an empty array for iteration 2

- Array.apply: Array.apply(null, Array(100)) - Destructuring operator: [...Array(100)] - Array.prototype.fill Array(100).fill(undefined) - Array.from Array.from({ length: 100 })

2 days ago
Substr vs Substring vs Slice v2 2 days ago
indexOf versus object 4 2 days ago
indexOf versus object 3 2 days ago
indexOf versus object 2 2 days ago
indexOf versus object 2 days ago
Array.find vs. Map.get (string) fixes

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

2 days ago
class vs function mk I 2 days ago

 New benchmark Your benchmarks