Benchmark name When Created
Fastest isEmpty(Object)

You don't need to make add for loops in your test scenarios, the benchmark does it itself.

one year ago
"array length === 0" vs "!(0 in array)"

this is really stupid but is surprisingly close i guess

one year ago
React svg inline vs use 500x Phosphor Bell one year ago
Concat vs push(...) for very large arrays

Comparing the various ways to append to a very large array

one year ago
React svg inline vs use 500x (2) one year ago
Loadash vs underscore simple and complex one year ago
lodash uniq vs set->array one year ago
Ctrl: flatMap() vs filter().map() vs reduce() v2

flatMap() vs filter() & map() vs reduce()

one year ago
Ctrl: flatMap() vs filter().map() vs reduce()

flatMap() vs filter() & map() vs reduce()

one year ago
javascript LARGE concat vs spread operator vs push v4 one year ago
map vs obj vs array 2 one year ago
map vs obj vs array one year ago
javascript LARGE concat vs spread operator vs push v3 one year ago
if vs callback vs currying condition comparison ver_2: static handle one year ago
javascript LARGE concat vs spread operator vs push v2 one year ago
javascript LARGE concat vs spread operator vs push one year ago
Map vs Array vs Set vs Object set uint32 key speed fork one year ago
1k1po2jjajsjsapa

aaaaa

one year ago
Arrow function vs normal function comparison 3 one year ago
scrollTop vs scrollTo vs scrollBy vs scroll one year ago
Spread vs Object.assign vs Object.keys with forEach (without new object)1 one year ago
clone-test, StructuredClone vs JSON.parse

structuredClone or JSON.parse

one year ago
clone-test structuredClone and JSON.parse

structuredClone or JSON.parse

one year ago
clone-test

structuredClone or JSON.parse

one year ago
structuredClone vs spread vs Object.assign + more

Note!: none of these tests actually do the same thing, and the data in the example is simple. consider also using arrays: those are nice. Some of these are shallow, some of these are deep-ish. Data is lost through JSON serialization and back, and more data would be lost in JSON and other methods depending on the data stored.

one year ago

 New benchmark Your benchmarks