Message from JavaScript discussions

May 2017

— I'm pretty accurately 10 times slower than native

— 

Set runtime: 280.370ms
myset runtime: 3524.986ms
set runtime: 275.362ms
myset runtime: 2990.192ms
set runtime: 305.948ms
myset runtime: 3395.202ms
set runtime: 313.230ms
myset runtime: 3073.291ms
set runtime: 278.051ms
myset runtime: 3688.234ms

— Delete is messy

— Is it trivial to check memory usage for node?

— Hmmm

— It's mostly slow to add

— Set add: 244.053ms
myset add: 3450.831ms
set has: 222.908ms
myset has: 293.247ms
set delete: 235.363ms
myset delete: 419.295ms
set add: 242.650ms
myset add: 3078.334ms
set has: 214.485ms
myset has: 243.206ms
set delete: 204.058ms
myset delete: 415.431ms
set add: 225.946ms
myset add: 3202.289ms
set has: 241.393ms
myset has: 241.304ms
set delete: 208.861ms
myset delete: 427.890ms
set add: 230.057ms
myset add: 3346.042ms
set has: 214.355ms
myset has: 242.989ms
set delete: 201.375ms
myset delete: 417.781ms

Message permanent page

— Lookups are fast

— Holy hell haha

— Some of those adds are so slow

— Hmmm

— Might help if I Object.create(null) ?